ContractDescription.Namespace プロパティ

定義

コントラクトの名前空間を取得または設定します。

public:
 property System::String ^ Namespace { System::String ^ get(); void set(System::String ^ value); };
public string Namespace { get; set; }
member this.Namespace : string with get, set
Public Property Namespace As String

プロパティ値

コントラクトの名前空間。

例外

設定値が null です。

string namespc = cd.Namespace;
Console.WriteLine("\tNamespace: {0}", namespc);
Dim namespc As String = cd.Namespace
Console.WriteLine(Constants.vbTab & "Namespace: {0}", namespc)

注釈

名前空間には空の文字列 ("") を指定できます。

適用対象