편집

다음을 통해 공유


ServiceDescriptionImporter.ServiceDescriptions Property

Definition

Gets the collection of ServiceDescription instances to be imported.

public:
 property System::Web::Services::Description::ServiceDescriptionCollection ^ ServiceDescriptions { System::Web::Services::Description::ServiceDescriptionCollection ^ get(); };
public System.Web.Services.Description.ServiceDescriptionCollection ServiceDescriptions { get; }
member this.ServiceDescriptions : System.Web.Services.Description.ServiceDescriptionCollection
Public ReadOnly Property ServiceDescriptions As ServiceDescriptionCollection

Property Value

A ServiceDescriptionCollection instance that contains the ServiceDescription instances slated to be imported by the ServiceDescriptionImporter instance.

Examples

The following example illustrates the use of the ServiceDescriptions 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);

Remarks

As with any collection that forms a read-only property, members can be added to the collection, removed from the collection, or modified using the methods exposed by the collection. You can also use the AddServiceDescription method to add members to this collection.

Applies to