IVsCfgProvider2.GetCfgOfName(String, String, IVsCfg) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the configuration object associated with a specified configuration property or platform name.
public:
int GetCfgOfName(System::String ^ pszCfgName, System::String ^ pszPlatformName, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsCfg ^ % ppCfg);
public:
int GetCfgOfName(Platform::String ^ pszCfgName, Platform::String ^ pszPlatformName, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsCfg ^ & ppCfg);
int GetCfgOfName(std::wstring const & pszCfgName, std::wstring const & pszPlatformName, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsCfg const & & ppCfg);
public int GetCfgOfName (string pszCfgName, string pszPlatformName, out Microsoft.VisualStudio.Shell.Interop.IVsCfg ppCfg);
abstract member GetCfgOfName : string * string * IVsCfg -> int
Public Function GetCfgOfName (pszCfgName As String, pszPlatformName As String, ByRef ppCfg As IVsCfg) As Integer
Parameters
- pszCfgName
- String
[in] Pointer to the name of the configuration to be returned.
- pszPlatformName
- String
[in] Pointer to the name of the platform for the configuration to be returned.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsCfgProvider2::GetCfgOfName(
[in] LPCOLESTR pszCfgName,
[in] LPCOLESTR pszPlatformName,
[out] IVsCfg **ppCfg
);