HtmlInputText.LoadPostData(String, NameValueCollection) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
處理控制的 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
收集所有輸入的名稱值。
傳回
true如果HtmlInputText控制組的狀態因回傳而改變;否則,。 false
備註
該 LoadPostData 方法檢查控制項的回推值 HtmlInputText 是否與先前值不同,若有則回傳 true。
此 LoadPostData 方法主要由控制開發者使用,以擴充控制功能 HtmlInputText 。