AllowedValuesAttribute(Object[]) Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy AllowedValuesAttribute.

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())

Parametry

values
Object[]

Lista wartości, które powinny być równe zweryfikowanej wartości.

Dotyczy