Share via


SPSite.UserCustomActions Property

Gets the SPUserCustomActionCollection object that contains a list of SPUserCustomAction objects that are assigned to this site.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property UserCustomActions As SPUserCustomActionCollection
    Get
'Usage
Dim instance As SPSite
Dim value As SPUserCustomActionCollection

value = instance.UserCustomActions
[ClientCallableAttribute]
public SPUserCustomActionCollection UserCustomActions { get; }

Property Value

Type: Microsoft.SharePoint.SPUserCustomActionCollection
A SPUserCustomActionCollection object.

Remarks

Note

This class is not thread safe.

See Also

Reference

SPSite Class

SPSite Members

Microsoft.SharePoint Namespace