Compartilhar via


IVsCfg Interface

Provides information about a project's configuration.

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

Syntax

'Declaration
<GuidAttribute("B8F932A5-5037-48C9-AB3A-A4ABBA79358B")> _
<InterfaceTypeAttribute()> _
Public Interface IVsCfg
[GuidAttribute("B8F932A5-5037-48C9-AB3A-A4ABBA79358B")]
[InterfaceTypeAttribute()]
public interface IVsCfg
[GuidAttribute(L"B8F932A5-5037-48C9-AB3A-A4ABBA79358B")]
[InterfaceTypeAttribute()]
public interface class IVsCfg
[<GuidAttribute("B8F932A5-5037-48C9-AB3A-A4ABBA79358B")>]
[<InterfaceTypeAttribute()>]
type IVsCfg =  interface end
public interface IVsCfg

The IVsCfg type exposes the following members.

Methods

  Name Description
Public method get_DisplayName Returns a string that describes the configuration and can be displayed in the environment's UI.
Public method get_IsDebugOnly Obsolete. Do not use.
Public method get_IsReleaseOnly Obsolete. Do not use.

Top

Remarks

The get_IsDebugOnly and get_IsReleaseOnly methods were used when Visual Studio supported only two types of configurations: debug and release. Because multiple configuration types are currently supported, these methods have become obsolete.

Notes to Implementers

Implemented by projects to publish a display name to be used in the configuration UI.

Notes to Callers

Called by the environment to retrieve a configuration's display name.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace