XmlQueryRuntime.MatchesXmlType Método

Definição

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

Sobrecargas

Nome Description
MatchesXmlType(IList<XPathItem>, Int32)

Retorna true se o tipo de cada item na sequência especificada corresponder ao tipo XML identificado pelo índice especificado.

MatchesXmlType(IList<XPathItem>, XmlTypeCode)

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

MatchesXmlType(XPathItem, Int32)

Retornará true se o tipo do objeto especificado XPathItem corresponder ao tipo XML especificado.

MatchesXmlType(XPathItem, XmlTypeCode)

Retornará true se o tipo do XPathItem objeto for um subtipo de um tipo identificado pelo especificado XmlTypeCode.

MatchesXmlType(IList<XPathItem>, Int32)

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

Retorna true se o tipo de cada item na sequência especificada corresponder ao tipo XML identificado pelo í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> dos XPathItem objetos.

indexType
Int32

O índice .

Retornos

true se o tipo for 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
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 XPathItem instâncias.

code
XmlTypeCode

Um tipo singleton.

Retornos

true se o tipo for 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
Origem:
XmlQueryRuntime.cs
Origem:
XmlQueryRuntime.cs

Retornará true se o tipo do objeto especificado XPathItem corresponder 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 especificado XPathItem corresponder ao tipo XML especificado; caso contrário, false.

Aplica-se a

MatchesXmlType(XPathItem, XmlTypeCode)

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

Retornará true se o tipo do XPathItem objeto for um subtipo de um tipo identificado pelo 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

Uma instância da classe XPathItem.

code
XmlTypeCode

Uma instância da classe XmlTypeCode.

Retornos

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

Aplica-se a