次の方法で共有


IVsSolutionEvents3.OnAfterLoadProject Method

Notifies listening clients that the project has been loaded.

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

Syntax

'宣言
Function OnAfterLoadProject ( _
    pStubHierarchy As IVsHierarchy, _
    pRealHierarchy As IVsHierarchy _
) As Integer
'使用
Dim instance As IVsSolutionEvents3
Dim pStubHierarchy As IVsHierarchy
Dim pRealHierarchy As IVsHierarchy
Dim returnValue As Integer

returnValue = instance.OnAfterLoadProject(pStubHierarchy, _
    pRealHierarchy)
int OnAfterLoadProject(
    IVsHierarchy pStubHierarchy,
    IVsHierarchy pRealHierarchy
)
int OnAfterLoadProject(
    [InAttribute] IVsHierarchy^ pStubHierarchy, 
    [InAttribute] IVsHierarchy^ pRealHierarchy
)
function OnAfterLoadProject(
    pStubHierarchy : IVsHierarchy, 
    pRealHierarchy : IVsHierarchy
) : int

Parameters

Return Value

Type: System.Int32

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

Implements

IVsSolutionEvents2.OnAfterLoadProject(IVsHierarchy, IVsHierarchy)

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsSolutionEvents3::OnAfterLoadProject(
   [in] IVsHierarchy *pStubHierarchy,
   [in] IVsHierarchy *pRealHierarchy
);

Permissions

See Also

Reference

IVsSolutionEvents3 Interface

IVsSolutionEvents3 Members

Microsoft.VisualStudio.Shell.Interop Namespace