ScriptManager.LoadPostData(String, NameValueCollection) 方法

定義

讀取從瀏覽器上傳到伺服器的資料,並判定非同步回貼的來源。

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 如果 ScriptManager 控制組狀態因回傳而改變;否則, false

備註

LoadPostData 方法主要由控制開發者用來擴充控制功能 ScriptManager

適用於

另請參閱