ModelingEditorFactory.OnAfterOpenSolution Method
Notifies listening clients that the modeling editor 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
声明
Public Function OnAfterOpenSolution ( _
pUnkReserved As Object, _
fNewSolution As Integer _
) As Integer
public int OnAfterOpenSolution(
Object pUnkReserved,
int fNewSolution
)
public:
virtual int OnAfterOpenSolution(
Object^ pUnkReserved,
int fNewSolution
) sealed
abstract OnAfterOpenSolution :
pUnkReserved:Object *
fNewSolution:int -> int
override OnAfterOpenSolution :
pUnkReserved:Object *
fNewSolution:int -> int
public final function OnAfterOpenSolution(
pUnkReserved : Object,
fNewSolution : int
) : int
Parameters
- pUnkReserved
Type: System.Object
Reserved for future use.
- fNewSolution
Type: System.Int32
true to notify clients that the modeling editor is being created; 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.OnAfterOpenSolution(Object, 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.