Compartilhar via


RibbonTrimmer.CurrentList property

Returns the current context list of the request.

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

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