Compartilhar via


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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