ParameterCollection.GetValues(HttpContext, Control) Método
Definição
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
Parâmetros
- context
- HttpContext
A HttpRequest atual à qual o Parameter se associa.The current HttpRequest that the Parameter binds to.
- control
- Control
A instância de Control que é passada para cada método Evaluate(HttpContext, Control) do parâmetro.The Control instance that is passed to each parameter's Evaluate(HttpContext, Control) method.
Retornos
Um IOrderedDictionary de pares nome/valor.An IOrderedDictionary of name/value pairs.
Comentários
O control parâmetro é usado por Parameter objetos contidos na coleção para recuperar o Page objeto atual ao HttpRequest qual o Parameter objeto se associa.The control parameter is used by Parameter objects contained in the collection to retrieve the Page and current HttpRequest object that the Parameter object binds to.
Como o IOrderedDictionary objeto deve ter entradas nomeadas exclusivamente, mas a ParameterCollection coleção não requer ou garante Parameter nomes de objeto exclusivos, a implementação desse método acrescenta um número ao final de cada Name propriedade para garantir a exclusividade na coleção retornada.Because the IOrderedDictionary object must have uniquely named entries but the ParameterCollection collection does not require or guarantee unique Parameter object names, the implementation of this method appends a number to the end of each Name property to ensure uniqueness in the returned collection.