IVsPrioritizedSolutionEvents.PrioritizedOnAfterOpenSolution 方法

定义

定义一个方法,该方法在打开解决方案之后但在之前调用 OnAfterOpenSolution(Object, Int32)

public:
 int PrioritizedOnAfterOpenSolution(System::Object ^ pUnkReserved, int fNewSolution);
public:
 int PrioritizedOnAfterOpenSolution(Platform::Object ^ pUnkReserved, int fNewSolution);
int PrioritizedOnAfterOpenSolution(winrt::Windows::Foundation::IInspectable const & pUnkReserved, int fNewSolution);
public int PrioritizedOnAfterOpenSolution (object pUnkReserved, int fNewSolution);
abstract member PrioritizedOnAfterOpenSolution : obj * int -> int
Public Function PrioritizedOnAfterOpenSolution (pUnkReserved As Object, fNewSolution As Integer) As Integer

参数

pUnkReserved
Object

中保留供将来使用。

fNewSolution
Int32

中变量. true如果这是新的解决方案,则设置为。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

适用于