SoapAnyUri.Parse(String) Method

Definition

Converts the specified String into a SoapAnyUri object.

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

Parameters

value
String

The String to convert.

Returns

A SoapAnyUri 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 SoapAnyUri class.

// Parse an XSD formatted string to create a SoapAnyUri object.
String^ xsdAnyUri = L"http://localhost:8080/WebService";
SoapAnyUri^ anyUri = SoapAnyUri::Parse( xsdAnyUri );
// Parse an XSD formatted string to create a SoapAnyUri object.
string xsdAnyUri = "http://localhost:8080/WebService";
SoapAnyUri anyUri = SoapAnyUri.Parse(xsdAnyUri);

Applies to