Condividi tramite


SPUserCustomActionCollection.Item Property

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

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

Syntax

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

value = instance.Item(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