Freigeben über


IVsCfgProvider2 Interface

Allows projects to manage configuration information.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("623E34D5-82C1-42ED-A82C-6CA0478FFDDA")> _
Public Interface IVsCfgProvider2 _
    Inherits IVsCfgProvider
[InterfaceTypeAttribute()]
[GuidAttribute("623E34D5-82C1-42ED-A82C-6CA0478FFDDA")]
public interface IVsCfgProvider2 : IVsCfgProvider
[InterfaceTypeAttribute()]
[GuidAttribute(L"623E34D5-82C1-42ED-A82C-6CA0478FFDDA")]
public interface class IVsCfgProvider2 : IVsCfgProvider
[<InterfaceTypeAttribute()>]
[<GuidAttribute("623E34D5-82C1-42ED-A82C-6CA0478FFDDA")>]
type IVsCfgProvider2 =  
    interface 
        interface IVsCfgProvider 
    end
public interface IVsCfgProvider2 extends IVsCfgProvider

The IVsCfgProvider2 type exposes the following members.

Methods

  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 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

Remarks

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace