SoapQName.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
属性值
String,包含 Key 引用的命名空间。A String that contains the namespace that is referenced by Key.
示例
下面的代码示例说明如何使用 Namespace 属性。The following code example shows how to use the Namespace property. 此代码示例是为类提供的更大示例的一部分 SoapQName 。This code example is part of a larger example that is provided for the SoapQName class.
// Print the namespace of the SoapQName class.
Console::WriteLine( L"The namespace for this instance of SoapQName is {0}.",
soapQNameInstance->Namespace );
// Print the namespace of the SoapQName class.
Console.WriteLine("The namespace for this instance of SoapQName " +
"is {0}.", soapQNameInstance.Namespace);