XmlQueryRuntime.MatchesXmlType Méthode

Définition

Retourne true si le type de l'élément spécifié correspond au type XML spécifié.

Surcharges

MatchesXmlType(IList<XPathItem>, Int32)

Retourne la valeur true si le type de chaque élément dans la séquence spécifiée correspond au type XML que l'index spécifié identifie.

MatchesXmlType(IList<XPathItem>, XmlTypeCode)

Détermine si le type de la séquence spécifiée est un sous-type du type singleton spécifié.

MatchesXmlType(XPathItem, Int32)

Retourne true si le type de l'objet XPathItem spécifié correspond au type XML spécifié.

MatchesXmlType(XPathItem, XmlTypeCode)

Retourne true si le type de l'objet XPathItem est un sous-type d'un type identifié par le XmlTypeCode spécifié.

MatchesXmlType(IList<XPathItem>, Int32)

Source:
XmlQueryRuntime.cs
Source:
XmlQueryRuntime.cs
Source:
XmlQueryRuntime.cs

Retourne la valeur true si le type de chaque élément dans la séquence spécifiée correspond au type XML que l'index spécifié identifie.

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

Paramètres

indexType
Int32

Index.

Retours

true si le type de seq est un sous-type de indexType ; sinon, false.

S’applique à

MatchesXmlType(IList<XPathItem>, XmlTypeCode)

Source:
XmlQueryRuntime.cs
Source:
XmlQueryRuntime.cs
Source:
XmlQueryRuntime.cs

Détermine si le type de la séquence spécifiée est un sous-type du type singleton spécifié.

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

Paramètres

seq
IList<XPathItem>

Séquence d'instances XPathItem.

code
XmlTypeCode

Type singleton.

Retours

true si le type de seq est un sous-type du type spécifié par code ; sinon, false.

S’applique à

MatchesXmlType(XPathItem, Int32)

Source:
XmlQueryRuntime.cs
Source:
XmlQueryRuntime.cs
Source:
XmlQueryRuntime.cs

Retourne true si le type de l'objet XPathItem spécifié correspond au type XML spécifié.

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

Paramètres

item
XPathItem

Instance de la classe XPathItem.

indexType
Int32

Index dans le tableau des types XML.

Retours

true si le type du XPathItem spécifié correspond au type XML spécifié ; sinon, false.

S’applique à

MatchesXmlType(XPathItem, XmlTypeCode)

Source:
XmlQueryRuntime.cs
Source:
XmlQueryRuntime.cs
Source:
XmlQueryRuntime.cs

Retourne true si le type de l'objet XPathItem est un sous-type d'un type identifié par le XmlTypeCode spécifié.

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

Paramètres

item
XPathItem

Instance de la classe XPathItem.

code
XmlTypeCode

Instance de la classe XmlTypeCode.

Retours

true si le type de l’objet XPathItem est un sous-type d’un type identifié par le XmlTypeCode spécifié, sinon, false.

S’applique à