Share via


Decorator.OnNameChanged Method

Called when the Name of a Decorator changes

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
Protected Overridable Sub OnNameChanged ( _
    oldValue As String, _
    newValue As String _
)
protected virtual void OnNameChanged(
    string oldValue,
    string newValue
)
protected:
virtual void OnNameChanged(
    String^ oldValue, 
    String^ newValue
)
abstract OnNameChanged : 
        oldValue:string * 
        newValue:string -> unit  
override OnNameChanged : 
        oldValue:string * 
        newValue:string -> unit
protected function OnNameChanged(
    oldValue : String, 
    newValue : String
)

Parameters

  • oldValue
    Type: String
  • newValue
    Type: String

.NET Framework Security

See Also

Reference

Decorator Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace