共用方式為


DomainType.OnNameChanged Method

Called when the Name of a type changes

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

Syntax

'宣告
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

.NET Framework Security

See Also

Reference

DomainType Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace