XPathMessageFilter.StaticGetSchema(XmlSchemaSet) 方法

定義

取得用於序列化 XPath 篩選條件的 XML 結構描述型別。Gets the type of XML schema used to serialize the XPath filter.

public:
 static System::Xml::Schema::XmlSchemaType ^ StaticGetSchema(System::Xml::Schema::XmlSchemaSet ^ schemas);
public static System.Xml.Schema.XmlSchemaType StaticGetSchema (System.Xml.Schema.XmlSchemaSet schemas);
static member StaticGetSchema : System.Xml.Schema.XmlSchemaSet -> System.Xml.Schema.XmlSchemaType
Public Shared Function StaticGetSchema (schemas As XmlSchemaSet) As XmlSchemaType

參數

schemas
XmlSchemaSet

包含 XML 結構描述定義語言 (XSD) 結構描述快取的 XmlSchemaSetThe XmlSchemaSet that contains the cache of XML Schema definition language (XSD) schemas.

傳回

用來序列化 XPath 篩選條件的 XmlSchemaTypeThe XmlSchemaType used to serialize the XPath filter.

例外狀況

schemasnullschemas is null.

適用於