Partilhar 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
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Property LeafName As String
    Get
    Set
'Usage
Dim instance As ListItemCreationInformation
Dim value As String

value = instance.LeafName

instance.LeafName = value
[RemoteAttribute]
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