共用方式為


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

所有內送名稱值的集合。

傳回

Boolean

如果回傳事件的結果改變了 TreeView 控制項的狀態則為 true,否則為 false

備註

ASP.NET 網頁架構會追蹤從 LoadPostData 方法呼叫傳回 true 的所有伺服器控制項,然後在這些控制項上叫 RaisePostDataChangedEvent 用 方法。

適用於

另請參閱