Share via


ICodeRefactoringEvents.ClassNameChanging Event

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