CheckBox.IPostBackDataHandler.LoadPostData 方法

定義

處理 CheckBox 控制項的張貼資料。

 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

NameValueCollection,包含張貼資訊。

傳回

Boolean

如果 CheckBox 的狀態已經變更,則為 true,否則為 false

實作

備註

CheckBox 會決定張貼 Checked 的狀態。

適用於

另請參閱