XmlQueryRuntime.MatchesXmlType Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mengembalikan true jika jenis item yang ditentukan cocok dengan jenis XML yang ditentukan.
Overload
| Nama | Deskripsi |
|---|---|
| MatchesXmlType(IList<XPathItem>, Int32) |
Mengembalikan |
| MatchesXmlType(IList<XPathItem>, XmlTypeCode) |
Menentukan apakah jenis urutan yang ditentukan adalah subjenis dari jenis singleton yang ditentukan. |
| MatchesXmlType(XPathItem, Int32) |
Mengembalikan |
| MatchesXmlType(XPathItem, XmlTypeCode) |
Mengembalikan jika jenis |
MatchesXmlType(IList<XPathItem>, Int32)
- Sumber:
- XmlQueryRuntime.cs
- Sumber:
- XmlQueryRuntime.cs
- Sumber:
- XmlQueryRuntime.cs
- Sumber:
- XmlQueryRuntime.cs
- Sumber:
- XmlQueryRuntime.cs
Mengembalikan true jika jenis setiap item dalam urutan yang ditentukan cocok dengan jenis XML yang diidentifikasi indeks yang ditentukan.
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
Parameter
- indexType
- Int32
Indeks.
Mengembalikan
true jika jenis seq adalah subjenis dari indexType; jika tidak, false.
Berlaku untuk
MatchesXmlType(IList<XPathItem>, XmlTypeCode)
- Sumber:
- XmlQueryRuntime.cs
- Sumber:
- XmlQueryRuntime.cs
- Sumber:
- XmlQueryRuntime.cs
- Sumber:
- XmlQueryRuntime.cs
- Sumber:
- XmlQueryRuntime.cs
Menentukan apakah jenis urutan yang ditentukan adalah subjenis dari jenis singleton yang ditentukan.
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
Parameter
- code
- XmlTypeCode
Jenis singleton.
Mengembalikan
true jika jenis seq adalah subjenis yang ditentukan oleh code; jika tidak, false.
Berlaku untuk
MatchesXmlType(XPathItem, Int32)
- Sumber:
- XmlQueryRuntime.cs
- Sumber:
- XmlQueryRuntime.cs
- Sumber:
- XmlQueryRuntime.cs
- Sumber:
- XmlQueryRuntime.cs
- Sumber:
- XmlQueryRuntime.cs
Mengembalikan true jika jenis objek yang ditentukan XPathItem cocok dengan jenis XML yang ditentukan.
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
Parameter
- indexType
- Int32
Indeks dalam array jenis XML.
Mengembalikan
true jika jenis yang ditentukan XPathItem cocok dengan jenis XML yang ditentukan; jika tidak, false.
Berlaku untuk
MatchesXmlType(XPathItem, XmlTypeCode)
- Sumber:
- XmlQueryRuntime.cs
- Sumber:
- XmlQueryRuntime.cs
- Sumber:
- XmlQueryRuntime.cs
- Sumber:
- XmlQueryRuntime.cs
- Sumber:
- XmlQueryRuntime.cs
Mengembalikan jika jenis true objek adalah subjenis XPathItem dari jenis yang diidentifikasi oleh yang ditentukan 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
Parameter
- code
- XmlTypeCode
Sebuah instans dari kelas XmlTypeCode
Mengembalikan
true jika jenis XPathItem objek adalah subjenis dari jenis yang diidentifikasi oleh yang ditentukan XmlTypeCode; jika tidak, false.