IVsCfgProvider2::GetCfgOfName Method (String^, String^, IVsCfg^)

 

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

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

int GetCfgOfName(
	String^ pszCfgName,
	String^ pszPlatformName,
	[OutAttribute] IVsCfg^% ppCfg
)

Parameters

pszCfgName
Type: System::String^

[in] Pointer to the name of the configuration to be returned.

pszPlatformName
Type: System::String^

[in] Pointer to the name of the platform for the configuration to be returned.

ppCfg
Type: Microsoft.VisualStudio.Shell.Interop::IVsCfg^

[out] Indirect pointer to the IVsCfg interface of the requested configuration object.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsCfgProvider2::GetCfgOfName(
   [in] LPCOLESTR pszCfgName,
   [in] LPCOLESTR pszPlatformName,
   [out] IVsCfg **ppCfg
);
Return to top
Show: