次の方法で共有


IVsPrioritizedSolutionEvents.PrioritizedOnAfterChangeProjectParent Method

Definition

Defines a method called after the parent of a project changes and before OnAfterChangeProjectParent(IVsHierarchy).

public:
 int PrioritizedOnAfterChangeProjectParent(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy);
public:
 int PrioritizedOnAfterChangeProjectParent(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy);
int PrioritizedOnAfterChangeProjectParent(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierarchy);
public int PrioritizedOnAfterChangeProjectParent (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy);
abstract member PrioritizedOnAfterChangeProjectParent : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> int
Public Function PrioritizedOnAfterChangeProjectParent (pHierarchy As IVsHierarchy) As Integer

Parameters

pHierarchy
IVsHierarchy

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

Returns

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

Applies to