XmlQueryRuntime.MatchesXmlType メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した項目の型が指定した XML 型と一致する場合は、 true を返します。
オーバーロード
| 名前 | 説明 |
|---|---|
| MatchesXmlType(IList<XPathItem>, Int32) |
指定したシーケンス内のすべての項目の型が、指定したインデックスで識別される XML 型と一致する場合は、 |
| MatchesXmlType(IList<XPathItem>, XmlTypeCode) |
指定したシーケンスの型が、指定したシングルトン型のサブタイプであるかどうかを判断します。 |
| MatchesXmlType(XPathItem, Int32) |
指定した |
| MatchesXmlType(XPathItem, XmlTypeCode) |
|
MatchesXmlType(IList<XPathItem>, Int32)
指定したシーケンス内のすべての項目の型が、指定したインデックスで識別される 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
パラメーター
- indexType
- Int32
インデックスです。
返品
true
seqの型がindexTypeのサブタイプである場合はfalse。
適用対象
MatchesXmlType(IList<XPathItem>, XmlTypeCode)
指定したシーケンスの型が、指定したシングルトン型のサブタイプであるかどうかを判断します。
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
パラメーター
- code
- XmlTypeCode
シングルトン型。
返品
true
seqの型がcodeで指定された型のサブタイプである場合は >。それ以外の場合はfalse。
適用対象
MatchesXmlType(XPathItem, Int32)
指定した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
パラメーター
- indexType
- Int32
XML 型の配列内のインデックス。
返品
true 指定した XPathItem の型が指定した XML 型と一致する場合は。それ以外の場合は false。
適用対象
MatchesXmlType(XPathItem, XmlTypeCode)
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
パラメーター
- code
- XmlTypeCode
XmlTypeCode クラスのインスタンス。
返品
true
XPathItem オブジェクトの型が、指定したXmlTypeCodeで識別される型のサブタイプである場合はfalse。