Partager via


CoreResultsWebPart.EnableDocumentPreviewWord Property

Gets or sets a Boolean value that specifies whether document preview is enabled for Microsoft Office Word files.

Namespace:  Microsoft.Office.Server.Search.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property EnableDocumentPreviewWord As Boolean
    Get
    Set
'Usage
Dim instance As CoreResultsWebPart
Dim value As Boolean

value = instance.EnableDocumentPreviewWord

instance.EnableDocumentPreviewWord = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public bool EnableDocumentPreviewWord { get; set; }

Property Value

Type: System.Boolean
true, if document preview is enabled; otherwise false.

See Also

Reference

CoreResultsWebPart Class

CoreResultsWebPart Members

Microsoft.Office.Server.Search.WebControls Namespace