Partager via


ICodeRefactoringEvents.ClassNameChanging Event

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

Occurs when the name of a class is about to be changed.

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

Syntax

'Declaration
Event ClassNameChanging As EventHandler(Of ClassNameChangingEventArgs)
event EventHandler<ClassNameChangingEventArgs> ClassNameChanging

Remarks

Use event arguments to either list additional files that might be affected by your code or to cancel refactoring.

.NET Framework Security

See Also

Reference

ICodeRefactoringEvents Interface

Microsoft.VisualStudio.SharePoint Namespace