IVsCfgProvider2::GetCfgOfName Method (String^, String^, IVsCfg^)
Visual Studio 2015
Returns the configuration object associated with a specified configuration property or platform name.
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::Int32If 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 );
Show: