ModelingEditorFactory.OnAfterOpenProject Method
Notifies listening clients that the project has opened.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
Public Function OnAfterOpenProject ( _
pHierarchy As IVsHierarchy, _
fAdded As Integer _
) As Integer
public int OnAfterOpenProject(
IVsHierarchy pHierarchy,
int fAdded
)
public:
virtual int OnAfterOpenProject(
IVsHierarchy^ pHierarchy,
int fAdded
) sealed
abstract OnAfterOpenProject :
pHierarchy:IVsHierarchy *
fAdded:int -> int
override OnAfterOpenProject :
pHierarchy:IVsHierarchy *
fAdded:int -> int
public final function OnAfterOpenProject(
pHierarchy : IVsHierarchy,
fAdded : int
) : int
Parameters
- pHierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
The IVsHierarchy interface of the project that is being loaded.
- fAdded
Type: System.Int32
true if the project is added to the modeling editor after the modeling editor is opened; otherwise, false.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsSolutionEvents.OnAfterOpenProject(IVsHierarchy, Int32)
.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.