共用方式為


DiagramElement.OnNameChanged Method

Name of DiagramElement changed

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

Syntax

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

Parameters

.NET Framework Security

See Also

Reference

DiagramElement Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace