共用方式為


IVsCfgProviderEvents Interface

Definition

Provides notifications of configuration events.

public interface class IVsCfgProviderEvents
public interface class IVsCfgProviderEvents
__interface IVsCfgProviderEvents
[System.Runtime.InteropServices.Guid("E6D78900-BB40-4039-9C54-593A242B65DA")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsCfgProviderEvents
[System.Runtime.InteropServices.Guid("E6D78900-BB40-4039-9C54-593A242B65DA")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsCfgProviderEvents
[<System.Runtime.InteropServices.Guid("E6D78900-BB40-4039-9C54-593A242B65DA")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsCfgProviderEvents = interface
[<System.Runtime.InteropServices.Guid("E6D78900-BB40-4039-9C54-593A242B65DA")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsCfgProviderEvents = interface
Public Interface IVsCfgProviderEvents
Attributes

Remarks

This interface provides a way for project configurations to report changes to interested parties. Implementers of IVsCfgProviderEvents call AdviseCfgProviderEvents to register to receive these notifications. When notifications are no longer desired, UnadviseCfgProviderEvents is called to cancel the registration.

Notes to Implementers

Implemented by the environment to enable it to be notified when a project's configuration changes.

Notes to Callers

Called by projects to notify the environment when a configuration or platform name is added, deleted, or renamed.

Methods

OnCfgNameAdded(String)

Notifies the environment when a configuration name has been added.

OnCfgNameDeleted(String)

Notifies the environment when a configuration name has been deleted.

OnCfgNameRenamed(String, String)

Notifies the environment when a configuration name has been renamed.

OnPlatformNameAdded(String)

Notifies the environment when a platform name has been added.

OnPlatformNameDeleted(String)

Notifies the environment when a platform name has been deleted.

Applies to