ContractReference.DefaultFilename プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ContractReference.DefaultFilename プロパティの意味・解説 

ContractReference.DefaultFilename プロパティ

参照先サービス説明保存するときに使用する既定ファイル名取得します

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

Public Overrides ReadOnly
 Property DefaultFilename As String
Dim instance As ContractReference
Dim value As String

value = instance.DefaultFilename
public override string DefaultFilename { get;
 }
/** @property */
public String get_DefaultFilename ()

プロパティ
参照先サービス説明ファイル保存するときに使用する既定ファイル名

使用例使用例
Dim myProtocol As New DiscoveryClientProtocol()

' Get the DiscoveryDocument.
Dim myDiscoveryDocument As DiscoveryDocument
 = _
    myProtocol.Discover("http://localhost/ContractReference/Test_vb.disco")
Dim myArrayList As ArrayList = _
    CType(myDiscoveryDocument.References, ArrayList)

' Get the ContractReference.
Dim myContractRefrence As ContractReference
 = _
    CType(myArrayList(0), ContractReference)

' Get the DefaultFileName associated with the .disco file.
Dim myFileName As String
  = myContractRefrence.DefaultFilename

' Get the URL associated with the .disco file.
Dim myUrl As String  = myContractRefrence.Url
Console.WriteLine("The DefaulFilename is: " + myUrl)
Console.WriteLine("The URL is: " + myUrl)
DiscoveryClientProtocol myProtocol = new DiscoveryClientProtocol();

// Get the DiscoveryDocument.
DiscoveryDocument myDiscoveryDocument =
    myProtocol.Discover("http://localhost/ContractReference/test_cs.disco");
ArrayList myArrayList = (ArrayList)myDiscoveryDocument.References;

 // Get the ContractReference.
ContractReference myContractRefrence = (ContractReference)myArrayList[0];

// Get the DefaultFileName associated with the .disco file.
String myFileName = myContractRefrence.DefaultFilename;

// Get the URL associated with the .disco file.
String myUrl = myContractRefrence.Url;
Console.WriteLine("The DefaulFilename is: " + myUrl);
Console.WriteLine("The URL is: " + myUrl);
DiscoveryClientProtocol^ myProtocol = gcnew DiscoveryClientProtocol;

// Get the DiscoveryDocument.
DiscoveryDocument^ myDiscoveryDocument = myProtocol->Discover( "http://localhost/ContractReference/test_cs.disco"
 );
ArrayList^ myArrayList = dynamic_cast<ArrayList^>(myDiscoveryDocument->References);

// Get the ContractReference.
ContractReference^ myContractRefrence = dynamic_cast<ContractReference^>(myArrayList[
 0 ]);

// Get the DefaultFileName associated with the .disco file.
String^ myFileName = myContractRefrence->DefaultFilename;

// Get the URL associated with the .disco file.
String^ myUrl = myContractRefrence->Url;
Console::WriteLine( "The DefaulFilename is: {0}", myUrl );
Console::WriteLine( "The URL is: {0}", myUrl );
DiscoveryClientProtocol myProtocol = new DiscoveryClientProtocol();

// Get the DiscoveryDocument.
DiscoveryDocument myDiscoveryDocument = myProtocol.Discover(
    "http://localhost/ContractReference/test_cs.disco");
ArrayList myArrayList = (ArrayList)(myDiscoveryDocument.
    get_References());

// Get the ContractReference.
ContractReference myContractRefrence = (ContractReference)myArrayList.
    get_Item(0);

// Get the DefaultFileName associated with the .disco file.
String myFileName = myContractRefrence.get_DefaultFilename();

// Get the URL associated with the .disco file.
String myUrl = myContractRefrence.get_Url();
Console.WriteLine("The DefaulFilename is: " + myUrl);
Console.WriteLine("The URL is: " + myUrl);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ContractReference クラス
ContractReference メンバ
System.Web.Services.Discovery 名前空間


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

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

辞書ショートカット

すべての辞書の索引

ContractReference.DefaultFilename プロパティのお隣キーワード
検索ランキング

   

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



ContractReference.DefaultFilename プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS