XmlQueryRuntime.MatchesXmlType Método

Definición

Devuelve true si el tipo del elemento especificado coincide con el tipo XML indicado.

Sobrecargas

MatchesXmlType(IList<XPathItem>, Int32)

Devuelve true si el tipo de cada elemento de la secuencia especificada coincide con el tipo XML identificado por el índice especificado.

MatchesXmlType(IList<XPathItem>, XmlTypeCode)

Determina si el tipo de la secuencia especificada es un subtipo del tipo singleton especificado.

MatchesXmlType(XPathItem, Int32)

Devuelve true si el tipo del objeto XPathItem especificado coincide con el tipo XML indicado.

MatchesXmlType(XPathItem, XmlTypeCode)

Devuelve true si el tipo del objeto XPathItem es un subtipo de un tipo identificado por la enumeración XmlTypeCode especificada.

MatchesXmlType(IList<XPathItem>, Int32)

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

Devuelve true si el tipo de cada elemento de la secuencia especificada coincide con el tipo XML identificado por el índice especificado.

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

Parámetros

seq
IList<XPathItem>

IList<T> de objetos XPathItem.

indexType
Int32

Índice.

Devoluciones

Es true si el tipo de seq es un subtipo de indexType; de lo contrario, es false.

Se aplica a

MatchesXmlType(IList<XPathItem>, XmlTypeCode)

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

Determina si el tipo de la secuencia especificada es un subtipo del tipo singleton especificado.

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

Parámetros

seq
IList<XPathItem>

Secuencia de instancias de XPathItem.

code
XmlTypeCode

Tipo singleton.

Devoluciones

Es true si el tipo de seq es un subtipo del tipo especificado por code; de lo contrario, es false.

Se aplica a

MatchesXmlType(XPathItem, Int32)

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

Devuelve true si el tipo del objeto XPathItem especificado coincide con el tipo XML indicado.

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

Parámetros

item
XPathItem

Instancia de la clase XPathItem.

indexType
Int32

Índice de la matriz de tipos XML.

Devoluciones

Es true si el tipo de la clase XPathItem especificada coincide con el tipo XML indicado; de lo contrario, es false.

Se aplica a

MatchesXmlType(XPathItem, XmlTypeCode)

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

Devuelve true si el tipo del objeto XPathItem es un subtipo de un tipo identificado por la enumeración XmlTypeCode especificada.

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

Parámetros

item
XPathItem

Instancia de la clase XPathItem.

code
XmlTypeCode

Instancia de la clase XmlTypeCode.

Devoluciones

true, si el tipo del objeto XPathItem es un subtipo de un tipo identificado por el elemento XmlTypeCode especificado; de lo contrario, false.

Se aplica a