StyleSheets.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 styleSheets1 As StyleSheets

Dim key As Object
Dim returnValue As StyleSheet
returnValue = styleSheets1.Item(key)

Syntax

ReadOnly Property Item( _
    <InAttribute()> ByRef Index As Object _
) As StyleSheet
StyleSheet this[
    [In] ref object Index
] {get;}
property StyleSheet^ Item{
    StyleSheet^ get();
}
public StyleSheet 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

StyleSheets Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

StyleSheets Members