Condividi tramite


XmlQueryRuntime.MatchesXmlType Metodo

Definizione

Restituisce true se il tipo dell'elemento specificato corrisponde al tipo XML specificato.

Overload

MatchesXmlType(IList<XPathItem>, Int32)

Restituisce true se il tipo di ogni elemento nella sequenza specificata corrisponde al tipo XML identificato dall'indice specificato.

MatchesXmlType(IList<XPathItem>, XmlTypeCode)

Determina se il tipo della sequenza specificata è un sottotipo del tipo singleton specificato.

MatchesXmlType(XPathItem, Int32)

Restituisce true se il tipo dell'oggetto XPathItem specificato corrisponde al tipo XML specificato.

MatchesXmlType(XPathItem, XmlTypeCode)

Restituisce true se il tipo dell'oggetto XPathItem è un sottotipo di un tipo identificato dall'oggetto XmlTypeCode specificato.

MatchesXmlType(IList<XPathItem>, Int32)

Origine:
XmlQueryRuntime.cs
Origine:
XmlQueryRuntime.cs
Origine:
XmlQueryRuntime.cs

Restituisce true se il tipo di ogni elemento nella sequenza specificata corrisponde al tipo XML identificato dall'indice specificato.

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

Parametri

seq
IList<XPathItem>

Oggetto IList<T> di oggetti XPathItem.

indexType
Int32

Indice.

Restituisce

true se il tipo di seq è un sottotipo di indexType. In caso contrario false.

Si applica a

MatchesXmlType(IList<XPathItem>, XmlTypeCode)

Origine:
XmlQueryRuntime.cs
Origine:
XmlQueryRuntime.cs
Origine:
XmlQueryRuntime.cs

Determina se il tipo della sequenza specificata è un sottotipo del tipo singleton specificato.

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

Parametri

seq
IList<XPathItem>

Sequenza di istanze di XPathItem.

code
XmlTypeCode

Tipo singleton.

Restituisce

true se il tipo di seq è un sottotipo del tipo specificato da code. In caso contrario false.

Si applica a

MatchesXmlType(XPathItem, Int32)

Origine:
XmlQueryRuntime.cs
Origine:
XmlQueryRuntime.cs
Origine:
XmlQueryRuntime.cs

Restituisce true se il tipo dell'oggetto XPathItem specificato corrisponde al tipo XML specificato.

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

Parametri

item
XPathItem

Istanza della classe XPathItem.

indexType
Int32

Indice nella matrice di tipi XML.

Restituisce

true se il tipo dell'oggetto XPathItem specificato corrisponde al tipo XML specificato. In caso contrario false.

Si applica a

MatchesXmlType(XPathItem, XmlTypeCode)

Origine:
XmlQueryRuntime.cs
Origine:
XmlQueryRuntime.cs
Origine:
XmlQueryRuntime.cs

Restituisce true se il tipo dell'oggetto XPathItem è un sottotipo di un tipo identificato dall'oggetto XmlTypeCode specificato.

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

Parametri

item
XPathItem

Istanza della classe XPathItem.

code
XmlTypeCode

Istanza della classe XmlTypeCode.

Restituisce

true se il tipo dell'oggetto XPathItem è un sottotipo di un tipo identificato dall'oggetto XmlTypeCode specificato. In caso contrario, false.

Si applica a