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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈