SoapNegativeInteger.Parse(String) Metodo

Definizione

Converte l'oggetto specificato String in un SoapNegativeInteger oggetto .

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

Parametri

value
String

Oggetto String da convertire.

Valori restituiti

Oggetto SoapNegativeInteger ottenuto da value.

Esempio

Nell'esempio di codice seguente viene illustrato come usare il Parse metodo . Questo esempio di codice fa parte di un esempio più ampio fornito per la SoapNegativeInteger classe .

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

Si applica a