Share via


SoapNormalizedString.ToString Metodo

Definizione

Restituisce la proprietà Value come String.

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

Restituisce

Elemento String ottenuto da Value in formato "<![CDATA[" + Value + "]]>".

Esempio

Nell'esempio di codice riportato di seguito viene illustrato come utilizzare questo metodo. Questo esempio di codice fa parte di un esempio più ampio fornito per la SoapNormalizedString classe .

// 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());

Si applica a