NamedDomainElement.OnNameChanged Method
Called when the Name of a NamedDomainElement 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
- oldValue
Type: System.String
- newValue
Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.