TreeView.LoadPostData(String, NameValueCollection) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
處理控制的回傳資料 TreeView 。
protected:
virtual bool LoadPostData(System::String ^ postDataKey, System::Collections::Specialized::NameValueCollection ^ postCollection);
protected virtual bool LoadPostData(string postDataKey, System.Collections.Specialized.NameValueCollection postCollection);
abstract member LoadPostData : string * System.Collections.Specialized.NameValueCollection -> bool
override this.LoadPostData : string * System.Collections.Specialized.NameValueCollection -> bool
Protected Overridable Function LoadPostData (postDataKey As String, postCollection As NameValueCollection) As Boolean
參數
- postDataKey
- String
控制的鍵識別碼。
- postCollection
- NameValueCollection
收集所有輸入的名稱值。
傳回
true,若控制TreeView組狀態因回推事件而改變;否則,。 false
備註
ASP.NET 頁面框架會追蹤所有從 true 方法呼叫中回傳 LoadPostData 的伺服器控制項,然後對這些控制項呼叫 RaisePostDataChangedEvent 方法。