HtmlInputText.LoadPostData(String, NameValueCollection) 方法

定義

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

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

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

備註

方法 LoadPostData 會檢查控制項的 HtmlInputText 回傳值是否與其先前的值不同,如果是,則傳 true 回 。

方法 LoadPostData 主要是由控制項開發人員使用,以擴充控制項的功能 HtmlInputText

適用於