Share via


SoapNormalizedString.Parse(String) Método

Definición

Convierte el objeto String especificado en un objeto SoapNormalizedString.

public:
 static System::Runtime::Remoting::Metadata::W3cXsd2001::SoapNormalizedString ^ Parse(System::String ^ value);
public static System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNormalizedString Parse (string value);
static member Parse : string -> System.Runtime.Remoting.Metadata.W3cXsd2001.SoapNormalizedString
Public Shared Function Parse (value As String) As SoapNormalizedString

Parámetros

value
String

Valor String que se va a convertir.

Devoluciones

Objeto SoapNormalizedString que se obtiene a partir de value.

Excepciones

value contiene caracteres no válidos (0xD, 0xA o 0x9).

Ejemplos

En el ejemplo de código siguiente se muestra la forma de utilizar este método. Este ejemplo de código es parte de un ejemplo más grande proporcionado para la clase SoapNormalizedString.

// Parse the test string.
SoapNormalizedString^ normalized = SoapNormalizedString::Parse(
   testString );
// Parse the test string.
SoapNormalizedString normalized =
    SoapNormalizedString.Parse(testString);

Se aplica a