Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Notifies listening clients that the project has opened.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
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.IVsHierarchyThe IVsHierarchy interface of the project that is being loaded.
fAdded
Type: Int32true if the project is added to the modeling editor after the modeling editor is opened; otherwise, false.
Return Value
Type: 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.