Compartir a través de


SoapAnyUri.Parse(String) Método

Definición

Convierte el objeto String especificado en un objeto SoapAnyUri.

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

Parámetros

value
String

Valor String que se va a convertir.

Devoluciones

Objeto SoapAnyUri que se obtiene a partir de value.

Ejemplos

En el ejemplo de código siguiente, se muestra cómo se utiliza el método Parse. Este ejemplo de código es parte de un ejemplo más grande proporcionado para la clase SoapAnyUri.

// 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);

Se aplica a