ParameterCollection.GetValues(HttpContext, Control) メソッド

定義

コレクションに現在格納されている Parameter オブジェクトの名前と対応する値の順序付けられたコレクションを取得します。

public:
 System::Collections::Specialized::IOrderedDictionary ^ GetValues(System::Web::HttpContext ^ context, System::Web::UI::Control ^ control);
public System.Collections.Specialized.IOrderedDictionary GetValues (System.Web.HttpContext context, System.Web.UI.Control control);
member this.GetValues : System.Web.HttpContext * System.Web.UI.Control -> System.Collections.Specialized.IOrderedDictionary
Public Function GetValues (context As HttpContext, control As Control) As IOrderedDictionary

パラメーター

context
HttpContext

HttpRequest のバインド先となる現在の Parameter

control
Control

各パラメーターの Control メソッドに渡される Evaluate(HttpContext, Control) インスタンス。

戻り値

IOrderedDictionary

名前と値のペアのIOrderedDictionary

注釈

このcontrolパラメーターは、オブジェクトがバインドされる現在HttpRequestPageオブジェクトを取得するために、コレクションに含まれるオブジェクトParameterによってParameter使用されます。

オブジェクトは IOrderedDictionary 一意の名前付きエントリを持つ必要がありますが、 ParameterCollection コレクションでは一意のオブジェクト名を必要とせず、保証 Parameter もしないため、このメソッドの実装では、返されるコレクション内の一意性を確保するために、各 Name プロパティの末尾に数値が追加されます。

適用対象