SPField.Indexed property

Gets or sets a Boolean value that specifies whether the field is indexed.

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

Syntax

'Declaration
Public Overridable Property Indexed As Boolean
    Get
    Set
'Usage
Dim instance As SPField
Dim value As Boolean

value = instance.Indexed

instance.Indexed = value
public virtual bool Indexed { get; set; }

Property value

Type: System.Boolean
true to specify that the field is indexed; otherwise, false.

See also

Reference

SPField class

SPField members

Microsoft.SharePoint namespace