共用方式為


DomainType.OnNamespaceChanged Method

Called when the Namespace 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 OnNamespaceChanged ( _
    oldValue As String, _
    newValue As String _
)
protected virtual void OnNamespaceChanged(
    string oldValue,
    string newValue
)
protected:
virtual void OnNamespaceChanged(
    String^ oldValue, 
    String^ newValue
)
abstract OnNamespaceChanged : 
        oldValue:string * 
        newValue:string -> unit 
override OnNamespaceChanged : 
        oldValue:string * 
        newValue:string -> unit 
protected function OnNamespaceChanged(
    oldValue : String, 
    newValue : String
)

Parameters

.NET Framework Security

See Also

Reference

DomainType Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace