IVsSolutionEvents.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)


Function OnAfterLoadProject ( _
    pStubHierarchy As IVsHierarchy, _
    pRealHierarchy As IVsHierarchy _
) As Integer
‘사용 방법
Dim instance As IVsSolutionEvents
Dim pStubHierarchy As IVsHierarchy
Dim pRealHierarchy As IVsHierarchy
Dim returnValue As Integer

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


Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.


COM Signature

From vsshell.idl:

HRESULT IVsSolutionEvents::OnAfterLoadProject(
   [in] IVsHierarchy *pStubHierarchy,
   [in] IVsHierarchy *pRealHierarchy

.NET Framework Security

See Also


IVsSolutionEvents Interface

IVsSolutionEvents Members

Microsoft.VisualStudio.Shell.Interop Namespace