SiteMapProvider.EnableLocalization 属性
定义
获取或设置一个布尔值,该值指示是否返回 SiteMapNode 特性的本地化的值。Gets or sets a Boolean value indicating whether localized values of SiteMapNode attributes are returned.
public:
property bool EnableLocalization { bool get(); void set(bool value); };
public bool EnableLocalization { get; set; }
member this.EnableLocalization : bool with get, set
Public Property EnableLocalization As Boolean
属性值
如果返回 SiteMapNode 特性的本地化的值,则为 true;否则为 false。true if a localized value of the SiteMapNode attributes are returned; otherwise, false. 默认值为 false。The default is false.
注解
EnableLocalization属性用于和属性的 get 访问器以及 Title 对象的 Description 其他 Attributes 属性 SiteMapNode 。The EnableLocalization property is used for the get accessor of the Title and Description properties, as well as additional Attributes properties of a SiteMapNode object.