次の方法で共有


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)

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.

See also

Reference

SPField class

SPField members

Microsoft.SharePoint namespace