ServiceDescriptionImporter.Schemas 属性
定义
获取由其 XmlSchemas 属性使用的 ServiceDescriptions。Gets the XmlSchemas used by the ServiceDescriptions property.
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 对象,其中包含 ServiceDescription 集合中的 ServiceDescriptions 实例所使用的 XML 架构。An XmlSchemas object that contains the XML schemas used by the ServiceDescription instances in the ServiceDescriptions collection.
示例
下面的示例演示属性的用法 Schemas 。The following example illustrates the use of the Schemas property.
// 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);