Spread for ASP.NET 9.0 Product Documentation
NameChanging Event (INameSupport2)


Occurs when the name of the data model is changing.
Syntax
'Declaration
 
Event NameChanging As PropertyChangingEventHandler
'Usage
 
Dim instance As INameSupport2
Dim handler As PropertyChangingEventHandler
 
AddHandler instance.NameChanging, handler
event PropertyChangingEventHandler NameChanging
Event Data

The event handler receives an argument of type PropertyChangingEventArgs containing data related to this event. The following PropertyChangingEventArgs properties provide information specific to this event.

PropertyDescription
CancelGets or sets whether to cancel changing the property value.  
NewValueGets the new value to be set by the property.  
PropertyNameThe name of the property whose value is changing.  
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

INameSupport2 Interface
INameSupport2 Members

 

 


Copyright © GrapeCity, inc. All rights reserved.