共用方式為


SPWebConfigModification.Sequence Property

Gets or sets the sequence number of the modification.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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