ServiceDescription.Namespace 字段

定义

在其中定义类的 ServiceDescription XML 命名空间 (“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)

适用于