Share via


ServiceDescription.Namespace 欄位

定義

定義類別的 XML 命名空間 ServiceDescription (「 http://schemas.xmlsoap.org/wsdl/" ;) 。 這個欄位為常數。

public: System::String ^ Namespace;
public const string Namespace;
val mutable Namespace : string
Public Const Namespace As String 

欄位值

範例

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

適用於