XPathMessageFilter.StaticGetSchema(XmlSchemaSet) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得用於序列化 XPath 濾波器的 XML 架構類型。
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
XmlSchemaSet that 包含 XML Schema 定義語言(XSD)架構的快取。
傳回
它們 XmlSchemaType 用來序列化 XPath 濾波器。
例外狀況
schemas 是 null。