SPUtility.MaxLeafNameLength Field
Indicates the maximum number of characters that can be used in the name of a file or folder.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Const MaxLeafNameLength As Integer
'Usage
Dim value As Integer
value = SPUtility.MaxLeafNameLength
public const int MaxLeafNameLength
Remarks
The value of this constant is 128. This field is read-only.