共用方式為


SPField.OnAdded method

會處理欄位新增之後發生的事件。

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

Syntax

'宣告
Public Overridable Sub OnAdded ( _
    op As SPAddFieldOptions _
)
'用途
Dim instance As SPField
Dim op As SPAddFieldOptions

instance.OnAdded(op)
public virtual void OnAdded(
    SPAddFieldOptions op
)

參數

備註

使用此方法的衍生類別中,新增欄位時,提供自訂邏輯。

請參閱

參照

SPField class

SPField members

Microsoft.SharePoint namespace