Edit

Share via


SoapQName.Parse(String) Method

Definition

Converts the specified String into a SoapQName object.

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

Parameters

value
String

The String to convert.

Returns

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

// Parse an XSD formatted string to create a SoapQName object.
String^ xsdQName = L"tns:SomeName";
SoapQName^ qName = SoapQName::Parse( xsdQName );
// Parse an XSD formatted string to create a SoapQName object.
string xsdQName = "tns:SomeName";
SoapQName qName = SoapQName.Parse(xsdQName);

Applies to