MaxLengthAttribute.Length Property

Gets the maximum allowable length of the array/string data.

Namespace:  System.ComponentModel.DataAnnotations
Assembly:  EntityFramework (in EntityFramework.dll)

'Declaration
Public Property Length As Integer
	Get
	Friend Set
'Usage
Dim instance As MaxLengthAttribute
Dim value As Integer

value = instance.Length

Property Value

Type: System.Int32
Show: