XmlQueryRuntime.MatchesXmlType Methode

Definitie

Retourneert true als het type van het opgegeven item overeenkomt met het opgegeven XML-type.

Overloads

Name Description
MatchesXmlType(IList<XPathItem>, Int32)

Retourneert true als het type van elk item in de opgegeven reeks overeenkomt met het XML-type dat door de opgegeven index wordt geïdentificeerd.

MatchesXmlType(IList<XPathItem>, XmlTypeCode)

Bepaalt of het type van de opgegeven reeks een subtype is van het opgegeven singletontype.

MatchesXmlType(XPathItem, Int32)

Retourneert true als het type van het opgegeven XPathItem object overeenkomt met het opgegeven XML-type.

MatchesXmlType(XPathItem, XmlTypeCode)

Retourneert true als het type van het XPathItem object een subtype is van een type dat wordt geïdentificeerd door de opgegeven XmlTypeCode.

MatchesXmlType(IList<XPathItem>, Int32)

Bron:
XmlQueryRuntime.cs
Bron:
XmlQueryRuntime.cs
Bron:
XmlQueryRuntime.cs
Bron:
XmlQueryRuntime.cs
Bron:
XmlQueryRuntime.cs

Retourneert true als het type van elk item in de opgegeven reeks overeenkomt met het XML-type dat door de opgegeven index wordt geïdentificeerd.

public:
 bool MatchesXmlType(System::Collections::Generic::IList<System::Xml::XPath::XPathItem ^> ^ seq, int indexType);
public bool MatchesXmlType(System.Collections.Generic.IList<System.Xml.XPath.XPathItem> seq, int indexType);
member this.MatchesXmlType : System.Collections.Generic.IList<System.Xml.XPath.XPathItem> * int -> bool
Public Function MatchesXmlType (seq As IList(Of XPathItem), indexType As Integer) As Boolean

Parameters

seq
IList<XPathItem>

Een IList<T> van XPathItem objecten.

indexType
Int32

De index.

Retouren

trueals het type seq een subtype is van de indexType; anders . false

Van toepassing op

MatchesXmlType(IList<XPathItem>, XmlTypeCode)

Bron:
XmlQueryRuntime.cs
Bron:
XmlQueryRuntime.cs
Bron:
XmlQueryRuntime.cs
Bron:
XmlQueryRuntime.cs
Bron:
XmlQueryRuntime.cs

Bepaalt of het type van de opgegeven reeks een subtype is van het opgegeven singletontype.

public:
 bool MatchesXmlType(System::Collections::Generic::IList<System::Xml::XPath::XPathItem ^> ^ seq, System::Xml::Schema::XmlTypeCode code);
public bool MatchesXmlType(System.Collections.Generic.IList<System.Xml.XPath.XPathItem> seq, System.Xml.Schema.XmlTypeCode code);
member this.MatchesXmlType : System.Collections.Generic.IList<System.Xml.XPath.XPathItem> * System.Xml.Schema.XmlTypeCode -> bool
Public Function MatchesXmlType (seq As IList(Of XPathItem), code As XmlTypeCode) As Boolean

Parameters

seq
IList<XPathItem>

Een reeks XPathItem exemplaren.

code
XmlTypeCode

Een singletontype.

Retouren

trueals het type seq een subtype is dat is opgegeven door code; anders . false

Van toepassing op

MatchesXmlType(XPathItem, Int32)

Bron:
XmlQueryRuntime.cs
Bron:
XmlQueryRuntime.cs
Bron:
XmlQueryRuntime.cs
Bron:
XmlQueryRuntime.cs
Bron:
XmlQueryRuntime.cs

Retourneert true als het type van het opgegeven XPathItem object overeenkomt met het opgegeven XML-type.

public:
 bool MatchesXmlType(System::Xml::XPath::XPathItem ^ item, int indexType);
public bool MatchesXmlType(System.Xml.XPath.XPathItem item, int indexType);
member this.MatchesXmlType : System.Xml.XPath.XPathItem * int -> bool
Public Function MatchesXmlType (item As XPathItem, indexType As Integer) As Boolean

Parameters

item
XPathItem

Een exemplaar van de XPathItem klasse.

indexType
Int32

De index in de matrix van XML-typen.

Retouren

trueals het type van de opgegeven XPathItem overeenkomt met het opgegeven XML-type; anders. false

Van toepassing op

MatchesXmlType(XPathItem, XmlTypeCode)

Bron:
XmlQueryRuntime.cs
Bron:
XmlQueryRuntime.cs
Bron:
XmlQueryRuntime.cs
Bron:
XmlQueryRuntime.cs
Bron:
XmlQueryRuntime.cs

Retourneert true als het type van het XPathItem object een subtype is van een type dat wordt geïdentificeerd door de opgegeven XmlTypeCode.

public:
 bool MatchesXmlType(System::Xml::XPath::XPathItem ^ item, System::Xml::Schema::XmlTypeCode code);
public bool MatchesXmlType(System.Xml.XPath.XPathItem item, System.Xml.Schema.XmlTypeCode code);
member this.MatchesXmlType : System.Xml.XPath.XPathItem * System.Xml.Schema.XmlTypeCode -> bool
Public Function MatchesXmlType (item As XPathItem, code As XmlTypeCode) As Boolean

Parameters

item
XPathItem

Een exemplaar van de XPathItem klasse.

code
XmlTypeCode

Een exemplaar van de XmlTypeCode klasse.

Retouren

true als het type van het XPathItem object een subtype is van een type dat wordt geïdentificeerd door de opgegeven XmlTypeCode; anders false.

Van toepassing op