RibbonTrimmer.CurrentList Property

Returns the current context list of the request.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property CurrentList As SPList
    Get
'Usage
Dim instance As RibbonTrimmer
Dim value As SPList

value = instance.CurrentList
public SPList CurrentList { get; }

Property Value

Type: Microsoft.SharePoint.SPList
An SPList object that contains the current list.

See Also

Reference

RibbonTrimmer Class

RibbonTrimmer Members

Microsoft.SharePoint.WebControls Namespace