SPWebConfigModification.Sequence property

Gets or sets the sequence number of the modification.

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

Syntax

'Declaration
Public Property Sequence As UInteger
    Get
    Set
'Usage
Dim instance As SPWebConfigModification
Dim value As UInteger

value = instance.Sequence

instance.Sequence = value
public uint Sequence { get; set; }

Property value

Type: System.UInt32
A 32-bit unsigned integer between 0 and 65536. This property throws an InvalidOperationException if the number is outside this range.

Remarks

A sequence is used only if there is more than one modification of the same type to the same node or attribute. In this case, modifications with lower sequence numbers are applied first.

See also

Reference

SPWebConfigModification class

SPWebConfigModification members

Microsoft.SharePoint.Administration namespace