SiteElementControl.Field property

Gets the underlying SPField object to be rendered by the SiteElementControl object.

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

Syntax

'Declaration
Public Overrides ReadOnly Property Field As SPField
    Get
'Usage
Dim instance As SiteElementControl
Dim value As SPField

value = instance.Field
public override SPField Field { get; }

Property value

Type: Microsoft.SharePoint.SPField
An SPField object that represents the field the SiteElementControl is rendering.

See also

Reference

SiteElementControl class

SiteElementControl members

Microsoft.SharePoint.Publishing.WebControls namespace