共用方式為


IVsCfgProvider2 Interface

Definition

Allows projects to manage configuration information.

public interface class IVsCfgProvider2 : Microsoft::VisualStudio::Shell::Interop::IVsCfgProvider
public interface class IVsCfgProvider2 : Microsoft::VisualStudio::Shell::Interop::IVsCfgProvider
__interface IVsCfgProvider2 : Microsoft::VisualStudio::Shell::Interop::IVsCfgProvider
[System.Runtime.InteropServices.Guid("623E34D5-82C1-42ED-A82C-6CA0478FFDDA")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsCfgProvider2 : Microsoft.VisualStudio.Shell.Interop.IVsCfgProvider
[System.Runtime.InteropServices.Guid("623E34D5-82C1-42ED-A82C-6CA0478FFDDA")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsCfgProvider2 : Microsoft.VisualStudio.Shell.Interop.IVsCfgProvider
[<System.Runtime.InteropServices.Guid("623E34D5-82C1-42ED-A82C-6CA0478FFDDA")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsCfgProvider2 = interface
    interface IVsCfgProvider
[<System.Runtime.InteropServices.Guid("623E34D5-82C1-42ED-A82C-6CA0478FFDDA")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsCfgProvider2 = interface
    interface IVsCfgProvider
Public Interface IVsCfgProvider2
Implements IVsCfgProvider
Attributes
Implements

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.

Methods

AddCfgsOfCfgName(String, String, Int32)

Copies an existing configuration name or creates a new one.

AddCfgsOfPlatformName(String, String)

Copies an existing platform name or creates a new one.

AdviseCfgProviderEvents(IVsCfgProviderEvents, UInt32)

Registers the caller for configuration event notification.

DeleteCfgsOfCfgName(String)

Deletes a specified configuration name.

DeleteCfgsOfPlatformName(String)

Deletes a specified platform name.

GetCfgNames(UInt32, String[], UInt32[])

Returns one or more configuration names.

GetCfgOfName(String, String, IVsCfg)

Returns the configuration object associated with a specified configuration property or platform name.

GetCfgProviderProperty(Int32, Object)

Returns a specified configuration property.

GetCfgs(UInt32, IVsCfg[], UInt32[], UInt32[])

Returns the per-configuration objects for this object.

GetPlatformNames(UInt32, String[], UInt32[])

Returns one or more platform names.

GetSupportedPlatformNames(UInt32, String[], UInt32[])

Returns the set of platforms that are installed on the user's machine.

RenameCfgsOfCfgName(String, String)

Assigns a new name to a configuration.

UnadviseCfgProviderEvents(UInt32)

Cancels a registration for configuration event notification.

Applies to