次の方法で共有


IVsPrioritizedSolutionEvents.PrioritizedOnAfterAsynchOpenProject Method

Definition

Caution

Open Solution from SourceControl feature is removed

Defines a method called after the asynchronous opening of a project and before OnAfterAsynchOpenProject(IVsHierarchy, Int32).

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

Parameters

pHierarchy
IVsHierarchy

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

fAdded
Int32

[in] Boolean. Set to true if the open added the project.

Returns

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

Attributes

Applies to