共用方式為


ServiceDescriptionImporter.Schemas 屬性

定義

取得由 XmlSchemas 屬性使用的 ServiceDescriptions

public:
 property System::Xml::Serialization::XmlSchemas ^ Schemas { System::Xml::Serialization::XmlSchemas ^ get(); };
public System.Xml.Serialization.XmlSchemas Schemas { get; }
member this.Schemas : System.Xml.Serialization.XmlSchemas
Public ReadOnly Property Schemas As XmlSchemas

屬性值

XmlSchemas

XmlSchemas 物件,包含 ServiceDescription 集合中 ServiceDescriptions 執行個體所使用的 XML 結構描述。

範例

下列範例說明 屬性的使用 Schemas

// Report on the service descriptions.
Console::WriteLine( "Importing {0} service descriptions with {1} associated schemas.", importer->ServiceDescriptions->Count, importer->Schemas->Count );
// Report on the service descriptions.
Console.WriteLine("Importing {0} service descriptions with {1} associated schemas.",
                  importer.ServiceDescriptions.Count, importer.Schemas.Count);

適用於