次の方法で共有


ServiceDescription.Namespace フィールド

ServiceDescription クラスが定義されている XML 名前空間 ("https://schemas.xmlsoap.org/wsdl/")。このフィールドは定数です。

Public Const Namespace As String
[C#]
public const string Namespace;
[C++]
public: const String* Namespace;
[JScript]
public var Namespace : String;

使用例

 
Dim myDescription As ServiceDescription = _
   ServiceDescription.Read("MyWsdl_VB.wsdl")
Console.WriteLine("Namespace: " & ServiceDescription.Namespace)

[C#] 
ServiceDescription myDescription = 
   ServiceDescription.Read("MyWsdl_CS.wsdl");
Console.WriteLine("Namespace: " + ServiceDescription.Namespace);

[C++] 
ServiceDescription::Read(S"MyWsdl_CS.wsdl");
Console::WriteLine(S"Namespace : {0}", 
   ServiceDescription::Namespace);

[JScript] JScript のサンプルはありません。Visual Basic、C#、および C++ のサンプルを表示するには、このページの左上隅にある言語のフィルタ ボタン 言語のフィルタ をクリックします。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

ServiceDescription クラス | ServiceDescription メンバ | System.Web.Services.Description 名前空間