Image.NavigateUrl 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置图像的目标 URL。 默认值为空字符串 ("")。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅
public:
property System::String ^ NavigateUrl { System::String ^ get(); void set(System::String ^ value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.TypeConverter(typeof(System.Web.UI.Design.MobileControls.Converters.NavigateUrlConverter))]
public string NavigateUrl { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.TypeConverter(typeof(System.Web.UI.Design.MobileControls.Converters.NavigateUrlConverter))>]
member this.NavigateUrl : string with get, set
Public Property NavigateUrl As String
属性值
图像的目标 URL。
- 属性
注解
如果应用程序依赖于无 Cookie 会话,或者可能从需要无 Cookie 会话的浏览器接收请求,则路径中使用波形符(“~”)可能会无意中创建新会话并可能丢失会话数据。 若要使用路径(例如(“~/path”)设置属性,请在将路径分配给该属性之前使用 ResolveUrl(“~/path”) 解析该路径。