XmlQueryRuntime.MatchesXmlType Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Returnerar true om typen av det angivna objektet matchar den angivna XML-typen.
Överlagringar
| Name | Description |
|---|---|
| MatchesXmlType(IList<XPathItem>, Int32) |
Returnerar |
| MatchesXmlType(IList<XPathItem>, XmlTypeCode) |
Avgör om typen av den angivna sekvensen är en undertyp av den angivna singleton-typen. |
| MatchesXmlType(XPathItem, Int32) |
Returnerar |
| MatchesXmlType(XPathItem, XmlTypeCode) |
Returnerar |
MatchesXmlType(IList<XPathItem>, Int32)
- Källa:
- XmlQueryRuntime.cs
- Källa:
- XmlQueryRuntime.cs
- Källa:
- XmlQueryRuntime.cs
- Källa:
- XmlQueryRuntime.cs
- Källa:
- XmlQueryRuntime.cs
Returnerar true om typen av varje objekt i den angivna sekvensen matchar DEN XML-typ som det angivna indexet identifierar.
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
Parametrar
- indexType
- Int32
Indexet.
Returer
true om typen av seq är en undertyp av indexType; annars , false.
Gäller för
MatchesXmlType(IList<XPathItem>, XmlTypeCode)
- Källa:
- XmlQueryRuntime.cs
- Källa:
- XmlQueryRuntime.cs
- Källa:
- XmlQueryRuntime.cs
- Källa:
- XmlQueryRuntime.cs
- Källa:
- XmlQueryRuntime.cs
Avgör om typen av den angivna sekvensen är en undertyp av den angivna singleton-typen.
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
Parametrar
- code
- XmlTypeCode
En singleton-typ.
Returer
true om typen av seq är en undertyp som den typ som anges av code, annars , false.
Gäller för
MatchesXmlType(XPathItem, Int32)
- Källa:
- XmlQueryRuntime.cs
- Källa:
- XmlQueryRuntime.cs
- Källa:
- XmlQueryRuntime.cs
- Källa:
- XmlQueryRuntime.cs
- Källa:
- XmlQueryRuntime.cs
Returnerar true om typen av det angivna XPathItem objektet matchar den angivna XML-typen.
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
Parametrar
- indexType
- Int32
Indexet i matrisen med XML-typer.
Returer
true om den angivna XPathItem typen matchar den angivna XML-typen, falseannars .
Gäller för
MatchesXmlType(XPathItem, XmlTypeCode)
- Källa:
- XmlQueryRuntime.cs
- Källa:
- XmlQueryRuntime.cs
- Källa:
- XmlQueryRuntime.cs
- Källa:
- XmlQueryRuntime.cs
- Källa:
- XmlQueryRuntime.cs
Returnerar true om objektets XPathItem typ är en undertyp av en typ som identifieras av den angivna 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
Parametrar
- code
- XmlTypeCode
En instans av XmlTypeCode klassen.
Returer
true om objektets XPathItem typ är en undertyp av en typ som identifieras av den angivna XmlTypeCode, annars false.