ServiceDescriptionImporter.ServiceDescriptions プロパティ

定義

インポートされる ServiceDescription インスタンスのコレクションを取得します。

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

プロパティ値

ServiceDescriptionCollection インスタンスによってインポートされる予定の ServiceDescription インスタンスを格納する ServiceDescriptionImporter インスタンス。

次の例は、 プロパティの使用方法を 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);

注釈

読み取り専用プロパティを形成するコレクションと同様に、メンバーをコレクションに追加したり、コレクションから削除したり、コレクションによって公開されるメソッドを使用して変更したりできます。 メソッドを使用して、 AddServiceDescription このコレクションにメンバーを追加することもできます。

適用対象