共用方式為


ChangeNotificationService Class

Used to rename project scope symbols.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'宣告
<CLSCompliantAttribute(False)> _
Public MustInherit Class ChangeNotificationService
'用途
Dim instance As ChangeNotificationService
[CLSCompliantAttribute(false)]
public abstract class ChangeNotificationService
[CLSCompliantAttribute(false)]
public ref class ChangeNotificationService abstract
[<AbstractClassAttribute>]
[<CLSCompliantAttribute(false)>]
type ChangeNotificationService =  class end
public abstract class ChangeNotificationService

Remarks

This service is used by the CodeModel to listen to the component renaming event from the designer and call the corresponding RenameSymbol method to rename project scope symbols.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom.ChangeNotificationService

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ChangeNotificationService Members

Microsoft.VisualStudio.Shell.Design.Serialization.CodeDom Namespace