Selection.Style Property
Returns or sets the style for the specified object.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Property Style As Object
Get
Set
'Usage
Dim instance As Selection
Dim value As Object
value = instance.Style
instance.Style = value
Object Style { get; set; }
Property Value
Type: System.Object
Remarks
To set this property, specify the local name of the style, an integer, a WdBuiltinStyle constant, or an object that represents the style.