編輯

共用方式為


ServiceDescriptionImporter.Schemas Property

Definition

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

Property Value

An XmlSchemas object that contains the XML schemas used by the ServiceDescription instances in the ServiceDescriptions collection.

Examples

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);

Applies to