Style.InUse Property

True if the specified style is a built-in style that has been modified or applied in the document or a new style that has been created in the document. Read-only Boolean.

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


ReadOnly Property InUse As Boolean
Dim instance As Style
Dim value As Boolean

value = instance.InUse
bool InUse { get; }

Property Value

Type: System.Boolean


This property doesn't necessarily indicate whether the style is currently applied to any text in the document. For instance, if text that's been formatted with a style is deleted, the InUse property of the style remains True. For built-in styles that have never been used in the document, this property returns False.

See Also


Style Interface

Style Members

Microsoft.Office.Interop.Word Namespace