Styles.Item Property 

Returns an individual object in a collection.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim styles1 As Styles

Dim key As Object
Dim returnValue As Style
returnValue = styles1.Item(key)

Syntax

ReadOnly Property Item( _
    <InAttribute()> ByRef Index As Object _
) As Style
Style this[
    [In] ref object Index
] {get;}
property Style^ Item{
    Style^ get();
}
public Style get_Item(
    /*in*/System.Object Index
);
In JScript, you can use Indexed Properties defined by a class, but you cannot define your own.

Parameters

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

Styles Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Styles Members