共用方式為


ReferencesEventsClass.ReferenceChanged Event

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Occurs immediately after a reference is modified in a project.

Namespace:  VSLangProj
Assembly:  VSLangProj (in VSLangProj.dll)

Syntax

'Declaration
Public Overridable Event ReferenceChanged As _dispReferencesEvents_ReferenceChangedEventHandler
public virtual event _dispReferencesEvents_ReferenceChangedEventHandler ReferenceChanged
public:
virtual   event _dispReferencesEvents_ReferenceChangedEventHandler^ ReferenceChanged {
    void add (_dispReferencesEvents_ReferenceChangedEventHandler^ value);
    void remove (_dispReferencesEvents_ReferenceChangedEventHandler^ value);
}
abstract ReferenceChanged : IEvent<_dispReferencesEvents_ReferenceChangedEventHandler,
    EventArgs>
override ReferenceChanged : IEvent<_dispReferencesEvents_ReferenceChangedEventHandler,
    EventArgs>
JScript does not support events.

Implements

_dispReferencesEvents_Event.ReferenceChanged

Remarks

This event is raised when the CopyLocal property is changed, as CopyLocal is the only writable property of an existing Reference object.

.NET Framework Security

See Also

Reference

ReferencesEventsClass Class

VSLangProj Namespace