XmlQueryRuntime.MatchesXmlType Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Retourneert true als het type van het opgegeven item overeenkomt met het opgegeven XML-type.
Overloads
| Name | Description |
|---|---|
| MatchesXmlType(IList<XPathItem>, Int32) |
Retourneert |
| MatchesXmlType(IList<XPathItem>, XmlTypeCode) |
Bepaalt of het type van de opgegeven reeks een subtype is van het opgegeven singletontype. |
| MatchesXmlType(XPathItem, Int32) |
Retourneert |
| MatchesXmlType(XPathItem, XmlTypeCode) |
Retourneert |
MatchesXmlType(IList<XPathItem>, Int32)
- Bron:
- XmlQueryRuntime.cs
- Bron:
- XmlQueryRuntime.cs
- Bron:
- XmlQueryRuntime.cs
- Bron:
- XmlQueryRuntime.cs
- Bron:
- XmlQueryRuntime.cs
Retourneert true als het type van elk item in de opgegeven reeks overeenkomt met het XML-type dat door de opgegeven index wordt geïdentificeerd.
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
Parameters
- indexType
- Int32
De index.
Retouren
trueals het type seq een subtype is van de indexType; anders . false
Van toepassing op
MatchesXmlType(IList<XPathItem>, XmlTypeCode)
- Bron:
- XmlQueryRuntime.cs
- Bron:
- XmlQueryRuntime.cs
- Bron:
- XmlQueryRuntime.cs
- Bron:
- XmlQueryRuntime.cs
- Bron:
- XmlQueryRuntime.cs
Bepaalt of het type van de opgegeven reeks een subtype is van het opgegeven singletontype.
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
Parameters
- code
- XmlTypeCode
Een singletontype.
Retouren
trueals het type seq een subtype is dat is opgegeven door code; anders . false
Van toepassing op
MatchesXmlType(XPathItem, Int32)
- Bron:
- XmlQueryRuntime.cs
- Bron:
- XmlQueryRuntime.cs
- Bron:
- XmlQueryRuntime.cs
- Bron:
- XmlQueryRuntime.cs
- Bron:
- XmlQueryRuntime.cs
Retourneert true als het type van het opgegeven XPathItem object overeenkomt met het opgegeven XML-type.
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
Parameters
- indexType
- Int32
De index in de matrix van XML-typen.
Retouren
trueals het type van de opgegeven XPathItem overeenkomt met het opgegeven XML-type; anders. false
Van toepassing op
MatchesXmlType(XPathItem, XmlTypeCode)
- Bron:
- XmlQueryRuntime.cs
- Bron:
- XmlQueryRuntime.cs
- Bron:
- XmlQueryRuntime.cs
- Bron:
- XmlQueryRuntime.cs
- Bron:
- XmlQueryRuntime.cs
Retourneert true als het type van het XPathItem object een subtype is van een type dat wordt geïdentificeerd door de opgegeven 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
Parameters
- code
- XmlTypeCode
Een exemplaar van de XmlTypeCode klasse.
Retouren
true als het type van het XPathItem object een subtype is van een type dat wordt geïdentificeerd door de opgegeven XmlTypeCode; anders false.