SPUserCodePropertyCollection.OnSet 方法
更改SPUserCodeProperty集合中时调用。
命名空间: Microsoft.SharePoint.WebPartPages
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
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
类型:System.Int32发生更改的属性对象从零开始的索引。
oldValue
类型:System.Object更改之前的集合中指定索引处的旧属性对象。
newValue
类型:System.Object后所做的更改的集合中指定索引处的新属性对象。
备注
此重写设置标志,指示一个或多个属性集合中的未经过验证。
另请参阅
引用
SPUserCodePropertyCollection 类