SPUserCodePropertyCollection.OnSet method
變更集合中的SPUserCodeProperty時呼叫。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Protected Overrides Sub OnSet ( _
index As Integer, _
oldValue As Object, _
newValue As Object _
)
'用途
Dim index As Integer
Dim oldValue As Object
Dim newValue As Object
Me.OnSet(index, oldValue, newValue)
protected override void OnSet(
int index,
Object oldValue,
Object newValue
)
參數
index
Type: System.Int32以零起始的索引屬性物件變更時。
oldValue
Type: System.Object舊的屬性物件前變更集合中指定之索引處。
newValue
Type: System.Object新的屬性物件之後變更集合中指定之索引處。
備註
這個覆寫設定旗標,指出其中一個或更多的屬性集合中尚未驗證。
請參閱
參照
SPUserCodePropertyCollection class