Share via


SiteElementControl.FieldName property

Gets or sets the name of the field in the site element item to be rendered by a SiteElementControl object.

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

Syntax

'Declaration
Public Property FieldName As String
    Get
    Set
'Usage
Dim instance As SiteElementControl
Dim value As String

value = instance.FieldName

instance.FieldName = value
public string FieldName { get; set; }

Property value

Type: System.String
The name of the field in the site element item that is to be rendered.

See also

Reference

SiteElementControl class

SiteElementControl members

Microsoft.SharePoint.Publishing.WebControls namespace