Compartir por


UrlAttribute.UrlValue Propiedad

Definición

Obtiene el valor de dirección URL de UrlAttribute.

public:
 property System::String ^ UrlValue { System::String ^ get(); };
public string UrlValue { get; }
public string UrlValue { [System.Security.SecurityCritical] get; }
member this.UrlValue : string
[<get: System.Security.SecurityCritical>]
member this.UrlValue : string
Public ReadOnly Property UrlValue As String

Valor de propiedad

Valor de dirección UrlAttributeURL de .

Atributos

Excepciones

El llamador inmediato no tiene permiso de infraestructura.

Ejemplos

En el ejemplo de código siguiente se muestra el uso de la UrlValue propiedad de .UrlAttribute

// Create UrlAttribute.
UrlAttribute^ attribute = gcnew UrlAttribute( "tcp://localhost:1234/RemoteApp" );
Console::WriteLine( "UrlAttribute value: {0}", attribute->UrlValue );
// Create a url attribute object.
UrlAttribute attribute =
    new UrlAttribute("tcp://localhost:1234/RemoteApp");
Console.WriteLine("UrlAttribute value: {0}", attribute.UrlValue);

Se aplica a