DropDownList.IPostBackDataHandler.LoadPostData 方法

定義

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

 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

如果張貼的內容與最後張貼的內容不同,則為 true,否則為 false

實作

適用於