This topic has not yet been rated - Rate this topic

IVsCfgProvider2 Interface

Allows projects to manage configuration information.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
[InterfaceTypeAttribute()]
[GuidAttribute("623E34D5-82C1-42ED-A82C-6CA0478FFDDA")]
public interface IVsCfgProvider2 : IVsCfgProvider

The IVsCfgProvider2 type exposes the following members.

  Name Description
Public method AddCfgsOfCfgName Copies an existing configuration name or creates a new one.
Public method AddCfgsOfPlatformName Copies an existing platform name or creates a new one.
Public method AdviseCfgProviderEvents Registers the caller for configuration event notification.
Public method DeleteCfgsOfCfgName Deletes a specified configuration name.
Public method DeleteCfgsOfPlatformName Deletes a specified platform name.
Public method GetCfgNames Returns one or more configuration names.
Public method GetCfgOfName Returns the configuration object associated with a specified configuration property or platform name.
Public method GetCfgProviderProperty Returns a specified configuration property.
Public method GetCfgs(UInt32, IVsCfg[], UInt32[], UInt32[]) Returns the per-configuration objects for this object. (Inherited from IVsCfgProvider.)
Public method GetCfgs(UInt32, IVsCfg[], UInt32[], UInt32[]) Returns the per-configuration objects for this object.
Public method GetPlatformNames Returns one or more platform names.
Public method GetSupportedPlatformNames Returns the set of platforms that are installed on the user's machine.
Public method RenameCfgsOfCfgName Assigns a new name to a configuration.
Public method UnadviseCfgProviderEvents Cancels a registration for configuration event notification.
Top

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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ