Share via


SPUserCustomActionCollection.Item property

Gets the SPUserCustomAction object at the specified index in the collection.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    userCustomActionId As Guid _
) As SPUserCustomAction
    Get
'Usage
Dim instance As SPUserCustomActionCollection
Dim userCustomActionId As Guid
Dim value As SPUserCustomAction

value = instance(userCustomActionId)
public SPUserCustomAction this[
    Guid userCustomActionId
] { get; }

Parameters

  • userCustomActionId
    Type: System.Guid

    The GUID of the user custom object.

Property value

Type: Microsoft.SharePoint.SPUserCustomAction
SPUserCustomAction
The user custom action object whose ID equals the specified ID. If the object is not found, returns a null reference.

See also

Reference

SPUserCustomActionCollection class

SPUserCustomActionCollection members

Microsoft.SharePoint namespace