ControlValueProvider Classe

Definição

Representa um provedor de valor para valores de controle.Represents a value provider for control values.

public ref class ControlValueProvider sealed : System::Web::ModelBinding::SimpleValueProvider
public sealed class ControlValueProvider : System.Web.ModelBinding.SimpleValueProvider
type ControlValueProvider = class
    inherit SimpleValueProvider
Public NotInheritable Class ControlValueProvider
Inherits SimpleValueProvider
Herança
ControlValueProvider

Construtores

ControlValueProvider(ModelBindingExecutionContext, String)

Inicializa uma nova instância da classe ControlValueProvider.Initializes a new instance of the ControlValueProvider class.

Propriedades

ModelBindingExecutionContext

Obtém o contexto de execução.Gets the execution context.

(Herdado de SimpleValueProvider)
PropertyName

Obtém o nome da propriedade de controle da qual obter o valor.Gets the name of the control property to get the value from.

Métodos

ContainsPrefix(String)

Obtém um valor que indica se o provedor de valor contém o prefixo especificado.Gets a value that indicates whether the value provider contains the specified prefix.

(Herdado de SimpleValueProvider)
Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object.

(Herdado de Object)
FetchValue(String)

Quando implementada em uma classe derivada, retorna o valor para a chave especificada.When implemented in a derived class, returns the value for the specified key.

(Herdado de SimpleValueProvider)
GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
GetValue(String)

Chama o método FetchValue(String) e, em seguida, usa o valor retornado para instanciar uma nova instância da classe ValueProviderResult.Calls the FetchValue(String) method and then uses the returned value to instantiate a new instance of the ValueProviderResult class.

(Herdado de SimpleValueProvider)
MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object.

(Herdado de Object)

Aplica-se a