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

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