Share via


SoapNormalizedString.ToString 方法

定义

返回 Value 作为 String

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

返回

Value 获取的“<![CDATA[" + Value + "]]>”格式的 String

示例

下面的代码示例演示如何使用此方法。 此代码示例是为 SoapNormalizedString 类提供的一个更大示例的一部分。

// Print the string representation of the object.
Console::WriteLine( L"The normalized value of this string is \"{0}\".",
   normalized );
// Print the string representation of the object.
Console.WriteLine(
    "The normalized value of this string is \"{0}\".",
    normalized.ToString());

适用于