SoapPositiveInteger.Parse Method (String)


Converts the specified String into a SoapPositiveInteger object.

Namespace:   System.Runtime.Remoting.Metadata.W3cXsd2001
Assembly:  mscorlib (in mscorlib.dll)

public static SoapPositiveInteger Parse(
	string value


Type: System.String

The String to convert.

Return Value

Type: System.Runtime.Remoting.Metadata.W3cXsd2001.SoapPositiveInteger

A SoapPositiveInteger object that is obtained from value.

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 SoapPositiveInteger class.

// Parse an XSD formatted string to create a SoapPositiveInteger 
// object.
string xsdIntegerString = "+13";
SoapPositiveInteger xsdInteger = 

.NET Framework
Available since 1.1
Return to top