TreeView.LoadPostData(String, NameValueCollection) 方法

定義

處理控制的回傳資料 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 方法。

適用於

另請參閱