SoapInteger.Parse(String) Method

Definition

Converts the specified String into a SoapInteger object.

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

Parameters

value
String

The String to convert.

Returns

A SoapInteger object that is obtained from value.

Examples

The following code example shows how to use the Parse method. This code example is part of a larger example that is provided for the SoapInteger class.

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

Applies to