Udostępnij za pośrednictwem


Configurations Interface

Contains a set of Configuration objects. Each collection represents a row of Configuration objects for a given configuration name and for each platform, or a column of each Configuration object for a given platform name, one for each configuration name.

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

Syntax

'Declaration
<GuidAttribute("B6B4C8D6-4D27-43B9-B45C-52BD16B6BA38")> _
Public Interface Configurations _
    Inherits IEnumerable
[GuidAttribute("B6B4C8D6-4D27-43B9-B45C-52BD16B6BA38")]
public interface Configurations : IEnumerable
[GuidAttribute(L"B6B4C8D6-4D27-43B9-B45C-52BD16B6BA38")]
public interface class Configurations : IEnumerable
[<GuidAttribute("B6B4C8D6-4D27-43B9-B45C-52BD16B6BA38")>]
type Configurations =  
    interface
        interface IEnumerable
    end
public interface Configurations extends IEnumerable

The Configurations type exposes the following members.

Properties

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

Top

Methods

  Name Description
Public method GetEnumerator Gets an enumerator for items in the collection.
Public method Item Returns a Configuration object in a Configurations collection.

Top

Remarks

Each Configuration object represents the properties for a project configuration name and platform name taken together. For most projects the platform is either nonexistent, "Win32," or "WSP."

Reference this collection by using EnvDTE.Project.ConfigurationManager.Configurations.

See Also

Reference

EnvDTE Namespace