ScriptManager.GetRegisteredExpandoAttributes 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索以前向 Page 对象注册的自定义(expando)属性的只读集合。
public:
System::Collections::ObjectModel::ReadOnlyCollection<System::Web::UI::RegisteredExpandoAttribute ^> ^ GetRegisteredExpandoAttributes();
public System.Collections.ObjectModel.ReadOnlyCollection<System.Web.UI.RegisteredExpandoAttribute> GetRegisteredExpandoAttributes();
member this.GetRegisteredExpandoAttributes : unit -> System.Collections.ObjectModel.ReadOnlyCollection<System.Web.UI.RegisteredExpandoAttribute>
Public Function GetRegisteredExpandoAttributes () As ReadOnlyCollection(Of RegisteredExpandoAttribute)
返回
一个包含自定义属性的泛型集合。
示例
注解
自定义属性是可由客户端脚本读取和设置的名称/值对。