Поделиться через


Bookmark.Empty Property

Gets a value that indicates whether the Bookmark control is empty.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
ReadOnly Property Empty As Boolean
bool Empty { get; }

Property Value

Type: System.Boolean
true if the Bookmark control is empty; otherwise, false.

Remarks

An empty Bookmark control marks a location (a collapsed selection); it does not mark any text.

An exception is thrown if the Bookmark control does not exist. Use the Exists method to determine whether the Bookmark control exists.

.NET Framework Security

See Also

Reference

Bookmark Interface

Microsoft.Office.Tools.Word Namespace