共用方式為


SPWebConfigModification.Sequence property

取得或設定所作的修改的序號。

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

Syntax

'宣告
Public Property Sequence As UInteger
    Get
    Set
'用途
Dim instance As SPWebConfigModification
Dim value As UInteger

value = instance.Sequence

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

Property value

Type: System.UInt32
介於 0 到 65536 32 位元不帶正負號的整數。如果 number 為此範圍外,則此屬性會擲回InvalidOperationException 。

備註

只有在有多個相同類型的修改相同的節點或屬性,會使用順序。在此例中,會先套用修改及較低的順序編號。

請參閱

參照

SPWebConfigModification class

SPWebConfigModification members

Microsoft.SharePoint.Administration namespace