ModelingEditorFactory.OnAfterLoadProject Method
Notifies listening clients that the project has loaded.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
声明
Public Function OnAfterLoadProject ( _
pStubHierarchy As IVsHierarchy, _
pRealHierarchy As IVsHierarchy _
) As Integer
public int OnAfterLoadProject(
IVsHierarchy pStubHierarchy,
IVsHierarchy pRealHierarchy
)
public:
virtual int OnAfterLoadProject(
IVsHierarchy^ pStubHierarchy,
IVsHierarchy^ pRealHierarchy
) sealed
abstract OnAfterLoadProject :
pStubHierarchy:IVsHierarchy *
pRealHierarchy:IVsHierarchy -> int
override OnAfterLoadProject :
pStubHierarchy:IVsHierarchy *
pRealHierarchy:IVsHierarchy -> int
public final function OnAfterLoadProject(
pStubHierarchy : IVsHierarchy,
pRealHierarchy : IVsHierarchy
) : int
Parameters
- pStubHierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
The IVsHierarchy interface of the placeholder hierarchy for the unloaded project.
- pRealHierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
The IVsHierarchy interface of the project that was loaded.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsSolutionEvents.OnAfterLoadProject(IVsHierarchy, IVsHierarchy)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.