SPPrincipal.SetField method
設定使用者或群組的欄位。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Protected Sub SetField ( _
fieldIndex As UInteger, _
value As Object _
)
'用途
Dim fieldIndex As UInteger
Dim value As Object
Me.SetField(fieldIndex, value)
protected void SetField(
uint fieldIndex,
Object value
)
參數
fieldIndex
Type: System.UInt32若要將欄位設定索引。
value
Type: System.Object若要設定欄位值。