MinLengthAttribute(Int32) Constructor
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Inicializa una nueva instancia de la clase MinLengthAttribute.
public:
MinLengthAttribute(int length);
public MinLengthAttribute(int length);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Uses reflection to get the 'Count' property on types that don't implement ICollection. This 'Count' property may be trimmed. Ensure it is preserved.")]
public MinLengthAttribute(int length);
new System.ComponentModel.DataAnnotations.MinLengthAttribute : int -> System.ComponentModel.DataAnnotations.MinLengthAttribute
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Uses reflection to get the 'Count' property on types that don't implement ICollection. This 'Count' property may be trimmed. Ensure it is preserved.")>]
new System.ComponentModel.DataAnnotations.MinLengthAttribute : int -> System.ComponentModel.DataAnnotations.MinLengthAttribute
Public Sub New (length As Integer)
Parámetros
- length
- Int32
Longitud de la matriz o de los datos de cadena.
- Atributos