XmlQueryRuntime.MatchesXmlType Метод

Определение

Возвращает, true если тип указанного элемента соответствует указанному типу XML.

Перегрузки

Имя Описание
MatchesXmlType(IList<XPathItem>, Int32)

Возвращает, true если тип каждого элемента в указанной последовательности соответствует типу XML, который определяет указанный индекс.

MatchesXmlType(IList<XPathItem>, XmlTypeCode)

Определяет, является ли тип указанной последовательности подтипом указанного одноэлементного типа.

MatchesXmlType(XPathItem, Int32)

Возвращает, true если тип указанного объекта соответствует указанному XPathItem типу XML.

MatchesXmlType(XPathItem, XmlTypeCode)

Возвращает, true если тип XPathItem объекта является подтипом типа, определяемого указанным.XmlTypeCode

MatchesXmlType(IList<XPathItem>, Int32)

Исходный код:
XmlQueryRuntime.cs
Исходный код:
XmlQueryRuntime.cs
Исходный код:
XmlQueryRuntime.cs
Исходный код:
XmlQueryRuntime.cs
Исходный код:
XmlQueryRuntime.cs

Возвращает, true если тип каждого элемента в указанной последовательности соответствует типу XML, который определяет указанный индекс.

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

Параметры

seq
IList<XPathItem>

IList<T> ОбъектXPathItem.

indexType
Int32

Индекс.

Возвращаемое значение

trueЗначение , seqесли тип indexType является подтипом ; falseв противном случае .

Применяется к

MatchesXmlType(IList<XPathItem>, XmlTypeCode)

Исходный код:
XmlQueryRuntime.cs
Исходный код:
XmlQueryRuntime.cs
Исходный код:
XmlQueryRuntime.cs
Исходный код:
XmlQueryRuntime.cs
Исходный код:
XmlQueryRuntime.cs

Определяет, является ли тип указанной последовательности подтипом указанного одноэлементного типа.

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

Параметры

seq
IList<XPathItem>

Последовательность XPathItem экземпляров.

code
XmlTypeCode

Одноэлементный тип.

Возвращаемое значение

trueЗначение , seqесли тип code является подтипом, указанным falseв ; в противном случае .

Применяется к

MatchesXmlType(XPathItem, Int32)

Исходный код:
XmlQueryRuntime.cs
Исходный код:
XmlQueryRuntime.cs
Исходный код:
XmlQueryRuntime.cs
Исходный код:
XmlQueryRuntime.cs
Исходный код:
XmlQueryRuntime.cs

Возвращает, true если тип указанного объекта соответствует указанному XPathItem типу XML.

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

Параметры

item
XPathItem

Экземпляр класса XPathItem.

indexType
Int32

Индекс в массиве типов XML.

Возвращаемое значение

true Значение , если тип указанного значения XPathItem соответствует указанному типу XML; в противном случае false.

Применяется к

MatchesXmlType(XPathItem, XmlTypeCode)

Исходный код:
XmlQueryRuntime.cs
Исходный код:
XmlQueryRuntime.cs
Исходный код:
XmlQueryRuntime.cs
Исходный код:
XmlQueryRuntime.cs
Исходный код:
XmlQueryRuntime.cs

Возвращает, true если тип XPathItem объекта является подтипом типа, определяемого указанным.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

Параметры

item
XPathItem

Экземпляр класса XPathItem.

code
XmlTypeCode

Экземпляр класса XmlTypeCode.

Возвращаемое значение

true Значение , если тип XPathItem объекта является подтипом типа, определяемого указанным XmlTypeCode; в противном случае false.

Применяется к