ServiceDescription.Services プロパティ
アセンブリ: System.Web.Services (system.web.services.dll 内)

ServiceCollection。

このプロパティから返される ServiceCollection は、Web サービス記述言語 (WSDL: Web Services Description Language) definitions ルート要素で囲まれた service 要素のリストに対応します。WSDL の詳細については、http://www.w3.org/TR/wsdl/ の仕様を参照してください。

' Read a ServiceDescription from existing WSDL. Dim myServiceDescription As ServiceDescription = _ ServiceDescription.Read("Input.vb.wsdl") myServiceDescription.TargetNamespace = "http://tempuri.org/" ' Get the ServiceCollection of the ServiceDescription. Dim myServiceCollection As ServiceCollection = _ myServiceDescription.Services ' Remove the Service at index 0 of the collection. myServiceCollection.Remove(myServiceDescription.Services.Item(0))
// Read a ServiceDescription from existing WSDL. ServiceDescription myServiceDescription = ServiceDescription.Read("Input_CS.wsdl"); myServiceDescription.TargetNamespace = "http://tempuri.org/"; // Get the ServiceCollection of the ServiceDescription. ServiceCollection myServiceCollection = myServiceDescription.Services; // Remove the Service at index 0 of the collection. myServiceCollection.Remove(myServiceDescription.Services[0]);
// Read a ServiceDescription from existing WSDL. ServiceDescription^ myServiceDescription = ServiceDescription::Read( "Input_CS.wsdl" ); myServiceDescription->TargetNamespace = "http://tempuri.org/"; // Get the ServiceCollection of the ServiceDescription. ServiceCollection^ myServiceCollection = myServiceDescription->Services; // Remove the Service at index 0 of the collection. myServiceCollection->Remove( myServiceDescription->Services[ 0 ] );
// Read a ServiceDescription from existing WSDL. ServiceDescription myServiceDescription = ServiceDescription. Read("Input_JSL.wsdl"); myServiceDescription.set_TargetNamespace("http://tempuri.org/"); // Get the ServiceCollection of the ServiceDescription. ServiceCollection myServiceCollection = myServiceDescription. get_Services(); // Remove the Service at index 0 of the collection. myServiceCollection.Remove(myServiceDescription.get_Services(). get_Item(0));

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からServiceDescription.Services プロパティを検索する場合は、下記のリンクをクリックしてください。

- ServiceDescription.Services プロパティのページへのリンク