Export (0) Print
Expand All

IVsCfgProvider2 Interface

Allows projects to manage configuration information.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

public interface IVsCfgProvider2 : IVsCfgProvider

The IVsCfgProvider2 type exposes the following members.

Public methodAddCfgsOfCfgNameCopies an existing configuration name or creates a new one.
Public methodAddCfgsOfPlatformNameCopies an existing platform name or creates a new one.
Public methodAdviseCfgProviderEventsRegisters the caller for configuration event notification.
Public methodDeleteCfgsOfCfgNameDeletes a specified configuration name.
Public methodDeleteCfgsOfPlatformNameDeletes a specified platform name.
Public methodGetCfgNamesReturns one or more configuration names.
Public methodGetCfgOfNameReturns the configuration object associated with a specified configuration property or platform name.
Public methodGetCfgProviderPropertyReturns a specified configuration property.
Public methodGetCfgsReturns the per-configuration objects for this object.
Public methodGetPlatformNamesReturns one or more platform names.
Public methodGetSupportedPlatformNamesReturns the set of platforms that are installed on the user's machine.
Public methodRenameCfgsOfCfgNameAssigns a new name to a configuration.
Public methodUnadviseCfgProviderEventsCancels a registration for configuration event notification.

See illustrations of the implementation and/or calling of this interface in the samples Basic Project and Figures Project.

Notes to Implementers

Implemented by projects to provide support for platforms, for adding, deleting, or updating configurations, and for configuration event notification. This interface coordinates build, deploy, and debug operations.

Notes to Callers

Called by the environment and other projects to retrieve information about a project's configurations.

© 2015 Microsoft