AllowedValuesAttribute(Object[]) Construtor
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Inicializa uma nova instância da AllowedValuesAttribute classe.
public:
AllowedValuesAttribute(... cli::array <System::Object ^> ^ values);
public AllowedValuesAttribute(params object?[] values);
new System.ComponentModel.DataAnnotations.AllowedValuesAttribute : obj[] -> System.ComponentModel.DataAnnotations.AllowedValuesAttribute
Public Sub New (ParamArray values As Object())
Parâmetros
- values
- Object[]
Uma lista de valores a que o valor validado deve ser igual.