Share via


ListItemCreationInformation.LeafName property

Gets or sets a value that specifies the name of the new list item. It must be the name of the file if the parent list of the list item is a document library.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Property LeafName As String
    Get
    Set
'Usage
Dim instance As ListItemCreationInformation
Dim value As String

value = instance.LeafName

instance.LeafName = value
public string LeafName { get; set; }

Property value

Type: System.String
Returns a String.instance that represents the name of the new list item.

Remarks

Its length must be equal to or less than 128. It must not contain the following characters: \x00-\x1FF, \x22, \x23, \x25, \x26, \x2A, \x3A, \x3C, x3E, \x3F, \x5C and \x7B-\x9F.

See also

Reference

ListItemCreationInformation class

ListItemCreationInformation members

Microsoft.SharePoint.Client namespace