Partager via


SoapNonNegativeInteger.Parse(String) Méthode

Définition

Convertit le String spécifié en un objet SoapNonNegativeInteger.

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

Paramètres

value
String

String à convertir.

Retours

Objet SoapNonNegativeInteger obtenu à partir de value.

Exemples

L'exemple de code suivant montre comment utiliser la méthode Parse. Cet exemple de code fait partie d’un exemple plus large fourni pour la SoapNonNegativeInteger classe .

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

S’applique à