DiscoveryClientResultCollection.Add メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > DiscoveryClientResultCollection.Add メソッドの意味・解説 

DiscoveryClientResultCollection.Add メソッド

DiscoveryClientResultDiscoveryClientResultCollection追加します

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

Public Function Add ( _
    value As DiscoveryClientResult _
) As Integer
Dim instance As DiscoveryClientResultCollection
Dim value As DiscoveryClientResult
Dim returnValue As Integer

returnValue = instance.Add(value)
public int Add (
    DiscoveryClientResult value
)
public:
int Add (
    DiscoveryClientResult^ value
)
public int Add (
    DiscoveryClientResult value
)
public function Add (
    value : DiscoveryClientResult
) : int

パラメータ

value

DiscoveryClientResultCollection に追加する DiscoveryClientResult。

戻り値
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);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DiscoveryClientResultCollection クラス
DiscoveryClientResultCollection メンバ
System.Web.Services.Discovery 名前空間
Add
DiscoveryClientResult クラス
IList


このページでは「.NET Framework クラス ライブラリ リファレンス」からDiscoveryClientResultCollection.Add メソッドを検索した結果を表示しています。
Weblioに収録されているすべての辞書からDiscoveryClientResultCollection.Add メソッドを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からDiscoveryClientResultCollection.Add メソッド を検索

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

辞書ショートカット

すべての辞書の索引

DiscoveryClientResultCollection.Add メソッドのお隣キーワード
検索ランキング

   

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



DiscoveryClientResultCollection.Add メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS