次の方法で共有


IVsGetCfgProvider.GetCfgProvider(IVsCfgProvider) Method

Definition

Returns a pointer to IVsCfgProvider so that the package can retrieve information relating to the project's configuration.

public:
 int GetCfgProvider([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsCfgProvider ^ % ppCfgProvider);
public:
 int GetCfgProvider([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsCfgProvider ^ &  ppCfgProvider);
int GetCfgProvider([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsCfgProvider const & & ppCfgProvider);
public int GetCfgProvider (out Microsoft.VisualStudio.Shell.Interop.IVsCfgProvider ppCfgProvider);
abstract member GetCfgProvider : IVsCfgProvider -> int
Public Function GetCfgProvider (ByRef ppCfgProvider As IVsCfgProvider) As Integer

Parameters

ppCfgProvider
IVsCfgProvider

[out] Pointer to an IVsCfgProvider.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsGetCfgProvider::GetCfgProvider(  
   [out] IVsCfgProvider** ppCfgProvider  
);  

Applies to