DiscoveryClientResult コンストラクタとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > DiscoveryClientResult コンストラクタの意味・解説 

DiscoveryClientResult コンストラクタ (Type, String, String)

DiscoveryClientResult クラス新しインスタンス初期化しReferenceTypeName プロパティreferenceType に、Url プロパティurl に、Filename プロパティfilename設定します

名前空間: System.Web.Services.Discovery
アセンブリ: System.Web.Services (system.web.services.dll 内)
構文構文

使用例使用例
' Initialize a new instance of the DiscoveryClientResult class.
Dim myDiscoveryClientResult As New
 DiscoveryClientResult( _
   GetType(System.Web.Services.Discovery.DiscoveryDocumentReference),
 _
   "http://localhost/Discovery/Service1_vb.asmx?disco",
 _
   "Service1_vb.disco")

' Add the DiscoveryClientResult to the collection.
myDiscoveryClientResultCollection.Add(myDiscoveryClientResult)
// Initialize a new instance of the DiscoveryClientResult class.
DiscoveryClientResult myDiscoveryClientResult = 
   new DiscoveryClientResult(
   typeof(System.Web.Services.Discovery.DiscoveryDocumentReference),
   "http://localhost/Discovery/Service1_cs.asmx?disco",
   "Service1_cs.disco");

// Add the DiscoveryClientResult to the collection.
myDiscoveryClientResultCollection.Add(myDiscoveryClientResult);
// Initialize a new instance of the DiscoveryClientResult class.
DiscoveryClientResult^ myDiscoveryClientResult =
   gcnew DiscoveryClientResult( System::Web::Services::Discovery::DiscoveryDocumentReference::typeid
,
   "http://localhost/Discovery/Service1_cs.asmx?disco","Service1_cs.disco"
 );

// Add the DiscoveryClientResult to the collection.
myDiscoveryClientResultCollection->Add( myDiscoveryClientResult );
// Initialize a new instance of the DiscoveryClientResult class.
DiscoveryClientResult myDiscoveryClientResult =
    new DiscoveryClientResult(System.Web.Services.
    Discovery.DiscoveryDocumentReference.class.ToType(),
    "http://localhost/Discovery/Service1_jsl.asmx?disco",
    "Service1_jsl.disco");

// Add the DiscoveryClientResult to the collection.
myDiscoveryClientResultCollection.Add(myDiscoveryClientResult);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DiscoveryClientResult クラス
DiscoveryClientResult メンバ
System.Web.Services.Discovery 名前空間

DiscoveryClientResult コンストラクタ

DiscoveryClientResult クラス新しインスタンス初期化します。
オーバーロードの一覧オーバーロードの一覧

名前 説明
DiscoveryClientResult () DiscoveryClientResult クラス新しインスタンス初期化します。
DiscoveryClientResult (Type, String, String) DiscoveryClientResult クラス新しインスタンス初期化し、ReferenceTypeName プロパティreferenceType に、Url プロパティurl に、Filename プロパティfilename設定します
参照参照

関連項目

DiscoveryClientResult クラス
DiscoveryClientResult メンバ
System.Web.Services.Discovery 名前空間

DiscoveryClientResult コンストラクタ ()

DiscoveryClientResult クラス新しインスタンス初期化します。

名前空間: System.Web.Services.Discovery
アセンブリ: System.Web.Services (system.web.services.dll 内)
構文構文

Dim instance As New DiscoveryClientResult
public DiscoveryClientResult ()
public:
DiscoveryClientResult ()
public DiscoveryClientResult ()
public function DiscoveryClientResult ()
使用例使用例
' Initialize a new instance of the DiscoveryClientResult class.
Dim myDiscoveryClientResult As New
 DiscoveryClientResult()

' Set the type of reference in the discovery document as 
' DiscoveryDocumentReference.
myDiscoveryClientResult.ReferenceTypeName = _
    "System.Web.Services.Discovery.DiscoveryDocumentReference"

' Set the URL for the reference.
myDiscoveryClientResult.Url = _
    "http://localhost/Discovery/Service1_vb.asmx?disco"

' Set the name of the file in which the reference is saved.
myDiscoveryClientResult.Filename = "Service1_vb.disco"

' Add the DiscoveryClientResult to the collection.
myDiscoveryClientResultCollection.Add(myDiscoveryClientResult)
// Initialize new instance of the DiscoveryClientResult class.
DiscoveryClientResult myDiscoveryClientResult =
    new DiscoveryClientResult();

// Set the type of reference in the discovery document as 
// DiscoveryDocumentReference.
myDiscoveryClientResult.ReferenceTypeName = 
    "System.Web.Services.Discovery.DiscoveryDocumentReference";

// Set the URL for the reference.
myDiscoveryClientResult.Url = 
    "http://localhost/Discovery/Service1_cs.asmx?disco";

// Set the name of the file in which the reference is saved.
myDiscoveryClientResult.Filename = "Service1_cs.disco";

// Add the DiscoveryClientResult to the collection.
myDiscoveryClientResultCollection.Add(myDiscoveryClientResult);
// Initialize new instance of the DiscoveryClientResult class.
DiscoveryClientResult^ myDiscoveryClientResult = gcnew DiscoveryClientResult;

// Set the type of reference in the discovery document as 
// DiscoveryDocumentReference.
myDiscoveryClientResult->ReferenceTypeName = "System.Web.Services.Discovery.DiscoveryDocumentReference";

// Set the URL for the reference.
myDiscoveryClientResult->Url = "http://localhost/Discovery/Service1_cs.asmx?disco";

// Set the name of the file in which the reference is saved.
myDiscoveryClientResult->Filename = "Service1_cs.disco";

// Add the DiscoveryClientResult to the collection.
myDiscoveryClientResultCollection->Add( myDiscoveryClientResult );
// Initialize new instance of the DiscoveryClientResult class.
DiscoveryClientResult myDiscoveryClientResult = 
    new DiscoveryClientResult();

// Set the type of reference in the discovery document as 
// DiscoveryDocumentReference.
myDiscoveryClientResult.set_ReferenceTypeName(
    "System.Web.Services.Discovery.DiscoveryDocumentReference");

// Set the URL for the reference.
myDiscoveryClientResult.set_Url(
    "http://localhost/Discovery/Service1_jsl.asmx?disco");

// Set the name of the file in which the reference is saved.
myDiscoveryClientResult.set_Filename("Service1_jsl.disco");

// Add the DiscoveryClientResult to the collection.
myDiscoveryClientResultCollection.Add(myDiscoveryClientResult);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DiscoveryClientResult クラス
DiscoveryClientResult メンバ
System.Web.Services.Discovery 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「DiscoveryClientResult コンストラクタ」の関連用語

DiscoveryClientResult コンストラクタのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



DiscoveryClientResult コンストラクタのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS