Udostępnij za pośrednictwem


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

See Also

Reference

Bookmark Class

Bookmark Members

Microsoft.Office.Tools.Word Namespace