Compartilhar via


Programs.Item Method

Returns a Program object in a Programs collection.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
Function Item ( _
    index As Object _
) As Program
Program Item(
    Object index
)
Program^ Item(
    [InAttribute] Object^ index
)
abstract Item : 
        index:Object -> Program
function Item(
    index : Object
) : Program

Parameters

Return Value

Type: EnvDTE.Program
A Program object.

Remarks

The Item method throws a T:System.ArgumentException exception if the collection cannot find the object that corresponds to the index value.

.NET Framework Security

See Also

Reference

Programs Interface

EnvDTE Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples