HiddenField.LoadPostData(String, NameValueCollection) メソッド

定義

HiddenField コントロールのポストバック データを処理します。

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

ポストバックの結果、HiddenField コントロールの状態が変化した場合は true。それ以外の場合は false

注釈

Web Forms ページ フレームワークは、このメソッド呼び出しに戻るtrueすべてのサーバー コントロールを追跡し、それらのコントロールをRaisePostDataChangedEvent呼び出します。

適用対象

こちらもご覧ください