XmlQueryRuntime.MatchesXmlType メソッド

定義

指定した項目の型が指定した XML 型と一致する場合は、 true を返します。

オーバーロード

名前 説明
MatchesXmlType(IList<XPathItem>, Int32)

指定したシーケンス内のすべての項目の型が、指定したインデックスで識別される XML 型と一致する場合は、 true を返します。

MatchesXmlType(IList<XPathItem>, XmlTypeCode)

指定したシーケンスの型が、指定したシングルトン型のサブタイプであるかどうかを判断します。

MatchesXmlType(XPathItem, Int32)

指定したtrue オブジェクトの型が指定した XML 型と一致する場合は、XPathItemを返します。

MatchesXmlType(XPathItem, XmlTypeCode)

true オブジェクトの型が、指定したXPathItemで識別される型のサブタイプである場合、XmlTypeCodeを返します。

MatchesXmlType(IList<XPathItem>, Int32)

ソース:
XmlQueryRuntime.cs
ソース:
XmlQueryRuntime.cs
ソース:
XmlQueryRuntime.cs
ソース:
XmlQueryRuntime.cs
ソース:
XmlQueryRuntime.cs

指定したシーケンス内のすべての項目の型が、指定したインデックスで識別される XML 型と一致する場合は、 true を返します。

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 オブジェクトの型が指定した XML 型と一致する場合は、XPathItemを返します。

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

適用対象