This documentation is archived and is not being maintained.

IVsProjectCfg.get_CanonicalName Method

Returns a configuration's canonical name.

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

int get_CanonicalName(
	out string pbstrCanonicalName


Type: System.String

[out] Pointer to the canonical name of the configuration such as Debug or Release.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

From vsshell.idl:

HRESULT IVsProjectCfg::get_CanonicalName(
   [out] BSTR *pbstrCanonicalName