Bookmark.Empty Property (2007 System)
Gets a value that indicates whether the Bookmark control is empty.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property Empty As Boolean
'Usage
Dim instance As Bookmark
Dim value As Boolean
value = instance.Empty
[BrowsableAttribute(false)]
public bool Empty { get; }
[BrowsableAttribute(false)]
public:
property bool Empty {
bool get ();
}
public function get Empty () : boolean
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(String) method to determine whether the Bookmark control exists.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.