SPRecycleBinItem.DirName Property
Gets the Web site–relative URL of the list or folder that originally contained the item.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<ClientCallableAttribute> _
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.MaxLength, Value := )> _
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.NotNull)> _
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.RelativeUrl)> _
Public ReadOnly Property DirName As String
Get
'Usage
Dim instance As SPRecycleBinItem
Dim value As String
value = instance.DirName
[ClientCallableAttribute]
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.MaxLength, Value = )]
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotNull)]
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.RelativeUrl)]
public string DirName { get; }
Property Value
Type: System.String
A string that contains the Web site–relative URL of the list or folder that originally contained the item.