ServiceDescriptionImporter.ServiceDescriptions Egenskap

Definition

Hämtar samlingen med ServiceDescription instanser som ska importeras.

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

Egenskapsvärde

En ServiceDescriptionCollection instans som innehåller de ServiceDescription instanser som ska importeras av instansen ServiceDescriptionImporter .

Exempel

I följande exempel visas hur egenskapen används ServiceDescriptions .

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

Kommentarer

Precis som med alla samlingar som utgör en skrivskyddad egenskap kan medlemmar läggas till i samlingen, tas bort från samlingen eller ändras med hjälp av de metoder som exponeras av samlingen. Du kan också använda AddServiceDescription metoden för att lägga till medlemmar i den här samlingen.

Gäller för