ScriptManager.GetRegisteredExpandoAttributes 方法

定义

检索以前向 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)

返回

一个包含自定义属性的泛型集合。

示例

RegisterExpandoAttribute

RegisterExpandoAttribute

RegisteredExpandoAttribute

注解

自定义属性是可由客户端脚本读取和设置的名称/值对。

适用于