XmlQueryRuntime.MatchesXmlType Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Devuelve true si el tipo del elemento especificado coincide con el tipo XML especificado.
Sobrecargas
| Nombre | Description |
|---|---|
| MatchesXmlType(IList<XPathItem>, Int32) |
Devuelve |
| MatchesXmlType(IList<XPathItem>, XmlTypeCode) |
Determina si el tipo de la secuencia especificada es un subtipo del tipo singleton especificado. |
| MatchesXmlType(XPathItem, Int32) |
Devuelve |
| MatchesXmlType(XPathItem, XmlTypeCode) |
Devuelve |
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
- 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
- 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
- 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
- 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 .