Language

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 。

注釈

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

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

適用対象