次の方法で共有


UrlIdentityPermissionAttribute.Url プロパティ

呼び出し元のコードのフル URL を取得または設定します。

Public Property Url As String
[C#]
public string Url {get; set;}
[C++]
public: __property String* get_Url();public: __property void set_Url(String*);
[JScript]
public function get Url() : String;public function set Url(String);

プロパティ値

ホストが指定する URL と一致する URL。

解説

https://www.fourthcoffee.com/process/grind.htm/ のように、プロトコル (HTTP、HTTPS、FTP) やファイル名を含む完全な URL が想定されます。

URL には、完全に一致する文字列、または最終位置にワイルドカードを使用した文字列 (https://www.fourthcoffee.com/process/\* など) を使用できます。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

UrlIdentityPermissionAttribute クラス | UrlIdentityPermissionAttribute メンバ | System.Security.Permissions 名前空間