共用方式為


SPFieldLookup.FieldRenderingControl property

取得用來呈現表單頁面上的欄位的控制項。

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

Syntax

'宣告
Public Overrides ReadOnly Property FieldRenderingControl As BaseFieldControl
    Get
'用途
Dim instance As SPFieldLookup
Dim value As BaseFieldControl

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

Property value

Type: Microsoft.SharePoint.WebControls.BaseFieldControl
Microsoft.SharePoint.WebControls.BaseFieldControl 物件,表示呈現控制項。

備註

如果CountRelated屬性會傳回true, FieldRenderingControl屬性所傳回的物件是類型ComputedField。如果AllowMultipleValues屬性會傳回true,就會傳回該物件就會是型別MultipleLookupField。否則,會傳回該物件是類型LookupField

請參閱

參照

SPFieldLookup class

SPFieldLookup members

Microsoft.SharePoint namespace