SoapQName.Key Property

Definition

Gets or sets the namespace alias of a qualified name.

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

Property Value

A String that contains the namespace alias of a qualified name.

Examples

The following code example shows how to use the Key property. This code example is part of a larger example that is provided for the SoapQName class.

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

Applies to