ServiceDescriptionImporter.ServiceDescriptions Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應