SoapPositiveInteger.Parse(String) Método

Definição

Converte o String especificado em um objeto SoapPositiveInteger.Converts the specified String into a SoapPositiveInteger object.

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

Parâmetros

value
String

O String a ser convertido.The String to convert.

Retornos

SoapPositiveInteger

Um objeto SoapPositiveInteger que é obtido de value.A SoapPositiveInteger object that is obtained from value.

Exemplos

O exemplo de código a seguir mostra como usar o método Parse.The following code example shows how to use the Parse method. Este exemplo de código faz parte de um exemplo maior que é fornecido para a SoapPositiveInteger classe.This code example is part of a larger example that is provided for the SoapPositiveInteger class.

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

Aplica-se a