XmlQueryRuntime.MatchesXmlType Método

Definición

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

Sobrecargas

Nombre Description
MatchesXmlType(IList<XPathItem>, Int32)

Devuelve true si el tipo de cada elemento de la secuencia especificada coincide con el tipo XML que identifica 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 especificado XPathItem coincide con el tipo XML especificado.

MatchesXmlType(XPathItem, XmlTypeCode)

Devuelve true si el tipo del XPathItem objeto es un subtipo de un tipo identificado por el especificado XmlTypeCode.

MatchesXmlType(IList<XPathItem>, Int32)

Source:
XmlQueryRuntime.cs
Source:
XmlQueryRuntime.cs
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 que identifica 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>

de IList<T>XPathItem objetos .

indexType
Int32

El índice.

Devoluciones

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

Se aplica a

MatchesXmlType(IList<XPathItem>, XmlTypeCode)

Source:
XmlQueryRuntime.cs
Source:
XmlQueryRuntime.cs
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 XPathItem instancias.

code
XmlTypeCode

Tipo singleton.

Devoluciones

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

Se aplica a

MatchesXmlType(XPathItem, Int32)

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

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

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

Una instancia de la clase XPathItem.

indexType
Int32

Índice de la matriz de tipos XML.

Devoluciones

true es si el tipo del especificado XPathItem coincide con el tipo XML especificado; de lo contrario, falsees .

Se aplica a

MatchesXmlType(XPathItem, XmlTypeCode)

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

Devuelve true si el tipo del XPathItem objeto es un subtipo de un tipo identificado por el especificado 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

Parámetros

item
XPathItem

Una instancia de la clase XPathItem.

code
XmlTypeCode

Una instancia de la clase XmlTypeCode.

Devoluciones

true es si el tipo del XPathItem objeto es un subtipo de un tipo identificado por el especificado XmlTypeCode; en caso contrario, falsees .

Se aplica a