Find.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)
Usage
Dim find1 As Find
Dim returnValue As Object
returnValue = find1.Style
Dim sampleValue As Object
find1.Style = sampleValue
Syntax
Property Style() As Object
object Style {get; set;}
property Object^ Style{
Object^ get();
Void set(Object^);
}
public System.Object get_Style();
public void set_Style(System.Object);
function get Style() : Object;
function set Style(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.
When you return the style for a range that includes more than one style, only the first character or paragraph style is returned.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Find Interface
Microsoft.Office.Interop.Word Namespace