XmlQueryRuntime.MatchesXmlType Méthode

Définition

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

Surcharges

Nom Description
MatchesXmlType(IList<XPathItem>, Int32)

Retourne true si le type de chaque élément de la séquence spécifiée correspond au type XML identifié par l’index spécifié.

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 spécifié XPathItem 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 type spécifié XmlTypeCode.

MatchesXmlType(IList<XPathItem>, Int32)

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

Retourne true si le type de chaque élément de la séquence spécifiée correspond au type XML identifié par l’index spécifié.

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

seq
IList<XPathItem>

Un IList<T> objet XPathItem .

indexType
Int32

L'index.

Retours

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

S’applique à

MatchesXmlType(IList<XPathItem>, XmlTypeCode)

Source:
XmlQueryRuntime.cs
Source:
XmlQueryRuntime.cs
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 d’un seq sous-type est le type spécifié par code; sinon, false.

S’applique à

MatchesXmlType(XPathItem, Int32)

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

Retourne true si le type de l’objet spécifié XPathItem 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 de types XML.

Retours

true si le type de l’objet 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
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 type spécifié 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

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 spécifié XmlTypeCode; sinon, false.

S’applique à