UrlIdentityPermission.Url 属性

定义

获取或设置表示 Internet 代码标识的 URL。

public:
 property System::String ^ Url { System::String ^ get(); void set(System::String ^ value); };
public string Url { get; set; }
member this.Url : string with get, set
Public Property Url As String

属性值

表示 Internet 代码标识的 URL。

例外

无法检索 URL,因为它具有不明确的标识。

注解

考虑完整的 URL,包括协议(HTTP、HTTPS、FTP)和文件,例如: http://www.fourthcoffee.com/process/grind.htm/

URL 可以完全匹配,也可以由最终位置的通配符进行匹配,例如: http://www.fourthcoffee.com/process/*

适用于