ScriptManager.GetRegisteredExpandoAttributes 方法

定義

擷取一組只讀的自訂(展開)屬性集合,這些屬性先前已註冊於該 Page 物件。

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

備註

自訂屬性是一組名稱/值對,客戶端腳本可以讀取並設定。

適用於