SPField.NoCrawl Property (Microsoft.SharePoint)

Switch View :
ScriptFree
SPField.NoCrawl Property

Gets or sets a Boolean value that specifies whether the field can be crawled by a search engine.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax

Visual Basic (Declaration)
Public Overridable Property NoCrawl As Boolean
	Get
	Set
Visual Basic (Usage)
Dim instance As SPField
Dim value As Boolean

value = instance.NoCrawl

instance.NoCrawl = value
C#
public virtual bool NoCrawl { get; set; }

Property Value

Type: System.Boolean
true to specify that the field can be crawled; otherwise, false.
See Also

Reference