SiteMapNode.Attributes 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置除为 SiteMapNode 类定义的强类型属性之外的其他属性的集合。
protected:
property System::Collections::Specialized::NameValueCollection ^ Attributes { System::Collections::Specialized::NameValueCollection ^ get(); void set(System::Collections::Specialized::NameValueCollection ^ value); };
protected System.Collections.Specialized.NameValueCollection Attributes { get; set; }
member this.Attributes : System.Collections.Specialized.NameValueCollection with get, set
Protected Property Attributes As NameValueCollection
属性值
如果不存在其他属性
例外
节点是只读的。
注解
Attributes如果需要将其他属性应用于站点地图节点,但不希望派生自定义类,则通常使用此集合。
受保护的Attributes属性不以与或Title属性相同的方式Description执行。 对于本地化支持,开发人员必须使用默认索引器。