SPRecycleBinItem.LeafName Property
Gets the leaf name of the item.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.MaxLength, Value := )> _
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.NotNull)> _
<ClientCallableConstraintAttribute(FixedId := "illegalchars", Type := ClientCallableConstraintType.Custom, _
Value := "It MUST NOT contain the following characters: ([~"#%&\*:<>?\\{|}\x7F]). ")> _
<ClientCallableAttribute> _
Public ReadOnly Property LeafName As String
Get
'Usage
Dim instance As SPRecycleBinItem
Dim value As String
value = instance.LeafName
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.MaxLength, Value = )]
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotNull)]
[ClientCallableConstraintAttribute(FixedId = "illegalchars", Type = ClientCallableConstraintType.Custom,
Value = "It MUST NOT contain the following characters: ([~"#%&\*:<>?\\{|}\x7F]). ")]
[ClientCallableAttribute]
public string LeafName { get; }
Property Value
Type: System.String
A string that contains the leaf name of the item.