Share via


Programs Interface

A collection of Program objects.

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

Syntax

'Declaration
<GuidAttribute("DC6A118A-BBAB-11D2-8AD1-00C04F79E479")> _
Public Interface Programs _
    Inherits IEnumerable
[GuidAttribute("DC6A118A-BBAB-11D2-8AD1-00C04F79E479")]
public interface Programs : IEnumerable
[GuidAttribute(L"DC6A118A-BBAB-11D2-8AD1-00C04F79E479")]
public interface class Programs : IEnumerable
[<GuidAttribute("DC6A118A-BBAB-11D2-8AD1-00C04F79E479")>]
type Programs =  
    interface 
        interface IEnumerable 
    end
public interface Programs extends IEnumerable

The Programs type exposes the following members.

Properties

  Name Description
Public property Count Gets a value indicating the number of objects in the collection.
Public property DTE Gets the top-level extensibility object.
Public property Parent Gets the immediate parent object of a Programs collection.

Top

Methods

  Name Description
Public method GetEnumerator Returns an enumeration for items in a collection.
Public method Item Returns a Program object in a Programs collection.

Top

Remarks

Important

This collection has been superseded by the Process2 object, so it should no longer be used. Existing code using this collection continues to work for backward-compatibility purposes. For new applications, use the Process2 object.

See Also

Reference

EnvDTE Namespace

Other Resources

Automation Object Model Chart