Compartir a través de


SoapNegativeInteger.Parse(String) Método

Definición

Convierte el objeto String especificado en un objeto SoapNegativeInteger.

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

Parámetros

value
String

Valor String que se va a convertir.

Devoluciones

Objeto SoapNegativeInteger que se obtiene a partir de value.

Ejemplos

En el ejemplo de código siguiente, se muestra cómo se utiliza el método Parse. Este ejemplo de código es parte de un ejemplo más grande proporcionado para la clase SoapNegativeInteger.

// Parse an XSD formatted string to create a SoapNegativeInteger
// object.
String^ xsdIntegerString = L"-13";
SoapNegativeInteger^ xsdInteger = SoapNegativeInteger::Parse(
   xsdIntegerString );
// Parse an XSD formatted string to create a SoapNegativeInteger
// object.
string xsdIntegerString = "-13";
SoapNegativeInteger xsdInteger =
    SoapNegativeInteger.Parse(xsdIntegerString);

Se aplica a