UrlAttribute.UrlValue プロパティ

定義

UrlAttribute の URL 値を取得します。

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

プロパティ値

UrlAttribute の URL 値。

属性

例外

直前の呼び出し元に、インフラストラクチャ アクセス許可がありません。

次のコード例は、 の プロパティの UrlValue 使用方法を 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);

適用対象