共用方式為


SPField.FieldRenderingControl property

會取得用來呈現中顯示]、 [編輯] 及 [新的表單欄位,以及在 [資料表單網頁組件的欄位類型控制項或使用欄位控制項的頁面。

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

Syntax

'宣告
Public Overridable ReadOnly Property FieldRenderingControl As BaseFieldControl
    Get
'用途
Dim instance As SPField
Dim value As BaseFieldControl

value = instance.FieldRenderingControl
public virtual BaseFieldControl FieldRenderingControl { get; }

Property value

Type: Microsoft.SharePoint.WebControls.BaseFieldControl
Microsoft.SharePoint.WebControls.BaseFieldControl 物件,代表控制項。

請參閱

參照

SPField class

SPField members

Microsoft.SharePoint namespace