Raised to drop and re-add the renamed project.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overrides Function OnAfterRenameProject ( _
hierarchy As IVsHierarchy _
) As Integer
'使用
Dim instance As SolutionListenerForProjectReferenceUpdate
Dim hierarchy As IVsHierarchy
Dim returnValue As Integer
returnValue = instance.OnAfterRenameProject(hierarchy)
public override int OnAfterRenameProject(
IVsHierarchy hierarchy
)
public:
virtual int OnAfterRenameProject(
IVsHierarchy^ hierarchy
) override
public override function OnAfterRenameProject(
hierarchy : IVsHierarchy
) : int
Parameters
hierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchyThe project node to rename.
Return Value
Type: System.Int32
If the hierarchy node is null, E_INVALIDARG. If the method succeeded, S_OK, or an error code.
Implements
IVsSolutionEvents4.OnAfterRenameProject(IVsHierarchy)
Permissions
- 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.
See Also
Reference
SolutionListenerForProjectReferenceUpdate Class