XmlQueryRuntime.MatchesXmlType Metódus
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Visszaadja true , ha a megadott elem típusa megegyezik a megadott XML-típussal.
Túlterhelések
| Name | Description |
|---|---|
| MatchesXmlType(IList<XPathItem>, Int32) |
Visszaadja |
| MatchesXmlType(IList<XPathItem>, XmlTypeCode) |
Meghatározza, hogy a megadott sorozat típusa a megadott singleton típus altípusa-e. |
| MatchesXmlType(XPathItem, Int32) |
Visszaadja |
| MatchesXmlType(XPathItem, XmlTypeCode) |
Visszaadja |
MatchesXmlType(IList<XPathItem>, Int32)
- Forrás:
- XmlQueryRuntime.cs
- Forrás:
- XmlQueryRuntime.cs
- Forrás:
- XmlQueryRuntime.cs
- Forrás:
- XmlQueryRuntime.cs
- Forrás:
- XmlQueryRuntime.cs
Visszaadja true , ha a megadott sorozat minden elemének típusa megegyezik a megadott index által azonosított XML-típussal.
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
Paraméterek
- indexType
- Int32
Az index.
Válaszok
trueha a típus seq a ; egyéb altípusaindexType. false
A következőre érvényes:
MatchesXmlType(IList<XPathItem>, XmlTypeCode)
- Forrás:
- XmlQueryRuntime.cs
- Forrás:
- XmlQueryRuntime.cs
- Forrás:
- XmlQueryRuntime.cs
- Forrás:
- XmlQueryRuntime.cs
- Forrás:
- XmlQueryRuntime.cs
Meghatározza, hogy a megadott sorozat típusa a megadott singleton típus altípusa-e.
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
Paraméterek
- code
- XmlTypeCode
Egy szimpla típus.
Válaszok
true ha a típus seq a megadott codetípus altípusa; falseegyébként.
A következőre érvényes:
MatchesXmlType(XPathItem, Int32)
- Forrás:
- XmlQueryRuntime.cs
- Forrás:
- XmlQueryRuntime.cs
- Forrás:
- XmlQueryRuntime.cs
- Forrás:
- XmlQueryRuntime.cs
- Forrás:
- XmlQueryRuntime.cs
Visszaadja true , ha a megadott XPathItem objektum típusa megegyezik a megadott XML-típussal.
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
Paraméterek
- indexType
- Int32
Az XML-típusok tömbjének indexe.
Válaszok
true ha a megadott XPathItem típus megegyezik a megadott XML-típussal, falseellenkező esetben.
A következőre érvényes:
MatchesXmlType(XPathItem, XmlTypeCode)
- Forrás:
- XmlQueryRuntime.cs
- Forrás:
- XmlQueryRuntime.cs
- Forrás:
- XmlQueryRuntime.cs
- Forrás:
- XmlQueryRuntime.cs
- Forrás:
- XmlQueryRuntime.cs
Visszaadja true , ha az XPathItem objektum típusa a megadott XmlTypeCodetípus által azonosított típus altípusa.
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
Paraméterek
- code
- XmlTypeCode
Egy példánya a XmlTypeCode osztálynak.
Válaszok
true ha az XPathItem objektum típusa a megadott XmlTypeCodetípus altípusa, ellenkező esetben false.