Partilhar via


SPUserCustomAction.Sequence Property

Gets or sets an implementation-specific value that determines the order of the custom action that appears on the page.

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

Syntax

'Declaration
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.MinValue, Value := )> _
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.MaxValue, Value := )> _
<ClientCallablePropertyAttribute> _
Public Property Sequence As Integer
    Get
    Set
'Usage
Dim instance As SPUserCustomAction
Dim value As Integer

value = instance.Sequence

instance.Sequence = value
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.MinValue, Value = )]
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.MaxValue, Value = )]
[ClientCallablePropertyAttribute]
public int Sequence { get; set; }

Property Value

Type: System.Int32
A value that determines where the custom action shows relative to other items in the user interface.

See Also

Reference

SPUserCustomAction Class

SPUserCustomAction Members

Microsoft.SharePoint Namespace