We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

Programs Interface

A collection of Program objects.

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

public interface Programs : IEnumerable

The Programs type exposes the following members.

Public propertyCountGets a value indicating the number of objects in the collection.
Public propertyDTEGets the top-level extensibility object.
Public propertyParentGets the immediate parent object of a Programs collection.

Public methodGetEnumeratorReturns an enumeration for items in a collection.
Public methodItemReturns a Program object in a Programs collection.

Important noteImportant

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.