共用方式為


ICodeRefactoringEvents.NamespaceNameChanged Event

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Occurs after the name of a namespace has been changed

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Event NamespaceNameChanged As EventHandler(Of NamespaceNameChangedEventArgs)
event EventHandler<NamespaceNameChangedEventArgs> NamespaceNameChanged

Remarks

You can execute your custom refactoring code in this event. Any additional files you declared added in the NamespaceNameChanged are not listed here.

.NET Framework Security

See Also

Reference

ICodeRefactoringEvents Interface

Microsoft.VisualStudio.SharePoint Namespace