Compartilhar via


XmlQueryRuntime.MatchesXmlType Método

Definição

Retorna true se o tipo do item especificado corresponde ao tipo XML especificado.

Sobrecargas

MatchesXmlType(IList<XPathItem>, Int32)

Retorna true se o tipo de cada item na sequência especificada corresponde ao tipo XML que identifica o índice especificado.

MatchesXmlType(IList<XPathItem>, XmlTypeCode)

Determina se o tipo da sequência especificada é um subtipo do tipo singleton especificado.

MatchesXmlType(XPathItem, Int32)

Retorna true se o tipo do objeto XPathItem especificado corresponde ao tipo XML especificado.

MatchesXmlType(XPathItem, XmlTypeCode)

Retorna true se o tipo do objeto XPathItem é um subtipo de um tipo identificado pelo XmlTypeCode especificado.

MatchesXmlType(IList<XPathItem>, Int32)

Origem:
XmlQueryRuntime.cs
Origem:
XmlQueryRuntime.cs
Origem:
XmlQueryRuntime.cs

Retorna true se o tipo de cada item na sequência especificada corresponde ao tipo XML que identifica o í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>

Um IList<T> de XPathItem objetos.

indexType
Int32

O índice.

Retornos

true se o tipo de seq é um subtipo do indexType, caso contrário, false.

Aplica-se a

MatchesXmlType(IList<XPathItem>, XmlTypeCode)

Origem:
XmlQueryRuntime.cs
Origem:
XmlQueryRuntime.cs
Origem:
XmlQueryRuntime.cs

Determina se o tipo da sequência especificada é um subtipo do 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>

Uma sequência de instâncias XPathItem.

code
XmlTypeCode

Um tipo singleton.

Retornos

true se o tipo de seq é um subtipo do tipo especificado por code, caso contrário, false.

Aplica-se a

MatchesXmlType(XPathItem, Int32)

Origem:
XmlQueryRuntime.cs
Origem:
XmlQueryRuntime.cs
Origem:
XmlQueryRuntime.cs

Retorna true se o tipo do objeto XPathItem especificado corresponde ao 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

Uma instância da classe XPathItem.

indexType
Int32

O índice na matriz de tipos XML.

Retornos

true se o tipo do XPathItem especificado corresponde ao tipo XML especificado, caso contrário, false.

Aplica-se a

MatchesXmlType(XPathItem, XmlTypeCode)

Origem:
XmlQueryRuntime.cs
Origem:
XmlQueryRuntime.cs
Origem:
XmlQueryRuntime.cs

Retorna true se o tipo do objeto XPathItem é um subtipo de um tipo identificado pelo XmlTypeCode especificado.

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

Uma instância da classe XPathItem.

code
XmlTypeCode

Uma instância da classe XmlTypeCode.

Retornos

true se o tipo do objeto XPathItem é um subtipo de um tipo identificado pelo XmlTypeCode especificado; caso contrário, false.

Aplica-se a