Share via


Variables.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 variables1 As Variables

Dim key As Object
Dim returnValue As Variable
returnValue = variables1.Item(key)

Syntax

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

Variables Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Variables Members