SoapQName.Name 属性

定义

获取或设置限定名的名称部分。Gets or sets the name portion of a qualified name.

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

属性值

String

一个 String 包含限定名的名称部分。A String that contains the name portion of a qualified name.

示例

下面的代码示例说明如何使用 Name 属性。The following code example shows how to use the Name property. 此代码示例是为类提供的更大示例的一部分 SoapQNameThis code example is part of a larger example that is provided for the SoapQName class.

// Print the name of the SoapQName object.
Console::WriteLine( L"The name of the SoapQName "
L"object is {0}.", soapQNameInstance->Name );
// Print the name of the SoapQName object.
Console.WriteLine("The name of the SoapQName " +
    "object is {0}.", soapQNameInstance.Name);

适用于