Sdílet prostřednictvím


IVsSolutionEvents4.OnAfterAsynchOpenProject(IVsHierarchy, Int32) Method

Definition

Caution

Open Solution from SourceControl feature is removed

Notifies listening clients that a project has been opened asynchronously.

public:
 int OnAfterAsynchOpenProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, int fAdded);
public:
 int OnAfterAsynchOpenProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, int fAdded);
int OnAfterAsynchOpenProject(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierarchy, int fAdded);
public int OnAfterAsynchOpenProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy, int fAdded);
[System.Obsolete("Open Solution from SourceControl feature is removed")]
public int OnAfterAsynchOpenProject (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy, int fAdded);
abstract member OnAfterAsynchOpenProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int -> int
[<System.Obsolete("Open Solution from SourceControl feature is removed")>]
abstract member OnAfterAsynchOpenProject : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * int -> int
Public Function OnAfterAsynchOpenProject (pHierarchy As IVsHierarchy, fAdded As Integer) As Integer

Parameters

pHierarchy
IVsHierarchy

[in] Pointer to the IVsHierarchy interface of the project being loaded.

fAdded
Int32

[in] true if the project is added to the solution after the solution is opened. false if the project is added to the solution while the solution is being opened.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Attributes

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsSolutionEvents4::OnAfterAsynchOpenProject(  
   [in] IVsHierarchy *pHierarchy,   
   [in] BOOL fAdded  
);  

Applies to