SPField.NoCrawl Property
Gets or sets a 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
'Declaration
Public Overridable Property NoCrawl As Boolean
Get
Set
'Usage
Dim instance As SPField
Dim value As Boolean
value = instance.NoCrawl
instance.NoCrawl = value
public virtual bool NoCrawl { get; set; }
Property Value
Type: System.Boolean
true to specify that the field cannot be crawled; otherwise, false.