TreeView.IPostBackDataHandler.LoadPostData 方法

定義

處理 TreeView 控制項的回傳資料。

 virtual bool System.Web.UI.IPostBackDataHandler.LoadPostData(System::String ^ postDataKey, System::Collections::Specialized::NameValueCollection ^ postCollection) = System::Web::UI::IPostBackDataHandler::LoadPostData;
bool IPostBackDataHandler.LoadPostData (string postDataKey, System.Collections.Specialized.NameValueCollection postCollection);
abstract member System.Web.UI.IPostBackDataHandler.LoadPostData : string * System.Collections.Specialized.NameValueCollection -> bool
override this.System.Web.UI.IPostBackDataHandler.LoadPostData : string * System.Collections.Specialized.NameValueCollection -> bool
Function LoadPostData (postDataKey As String, postCollection As NameValueCollection) As Boolean Implements IPostBackDataHandler.LoadPostData

參數

postDataKey
String

控制項的索引鍵識別項。

postCollection
NameValueCollection

所有內送名稱值的集合。

傳回

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

實作

備註

控制項開發人員應該覆寫 LoadPostData 方法。

適用於

另請參閱