共用方式為


SPField.FieldRenderingControl Property

Gets the field type control that is used to render the field in Display, Edit, and New forms, as well as in data form Web Parts or pages that use field controls.

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
A Microsoft.SharePoint.WebControls.BaseFieldControl object that represents the control.

See Also

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace