XmlQueryRuntime.MatchesXmlType メソッド

定義

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

オーバーロード

MatchesXmlType(IList<XPathItem>, Int32)

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

MatchesXmlType(IList<XPathItem>, XmlTypeCode)

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

MatchesXmlType(XPathItem, Int32)

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

MatchesXmlType(XPathItem, XmlTypeCode)

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

MatchesXmlType(IList<XPathItem>, Int32)

Source:
XmlQueryRuntime.cs
Source:
XmlQueryRuntime.cs
Source:
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

インデックス。

戻り値

seq の型が indexType のサブタイプの場合は true。それ以外の場合は false

適用対象

MatchesXmlType(IList<XPathItem>, XmlTypeCode)

Source:
XmlQueryRuntime.cs
Source:
XmlQueryRuntime.cs
Source:
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

シングルトン型。

戻り値

seq の型が code で指定された型のサブタイプの場合は true。それ以外の場合は false

適用対象

MatchesXmlType(XPathItem, Int32)

Source:
XmlQueryRuntime.cs
Source:
XmlQueryRuntime.cs
Source:
XmlQueryRuntime.cs

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

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 型の配列内のインデックス。

戻り値

指定された XPathItem の型が指定された XML 型と一致する場合は true。それ以外の場合は false

適用対象

MatchesXmlType(XPathItem, XmlTypeCode)

Source:
XmlQueryRuntime.cs
Source:
XmlQueryRuntime.cs
Source:
XmlQueryRuntime.cs

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

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 クラスのインスタンス。

戻り値

XPathItem オブジェクトの型が、指定された XmlTypeCode によって識別される型のサブタイプである場合は true。それ以外の場合は false

適用対象