Share via


ListItemProperty.MaxLength Property

Gets or sets the maximum number of characters that the list item can contain.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property MaxLength As Integer
    Get
    Set
'Usage
Dim instance As ListItemProperty
Dim value As Integer

value = instance.MaxLength

instance.MaxLength = value
public int MaxLength { get; set; }

Property Value

Type: System.Int32
A 32-bit integer that specifies the number of characters.

See Also

Reference

ListItemProperty Class

ListItemProperty Members

Microsoft.SharePoint.WebControls Namespace