ScriptManager.GetRegisteredExpandoAttributes 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
擷取一組只讀的自訂(展開)屬性集合,這些屬性先前已註冊於該 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)
傳回
一個包含自訂屬性的通用集合。
範例
備註
自訂屬性是一組名稱/值對,客戶端腳本可以讀取並設定。