AnnotationAuthorChangedEventArgs(Annotation, AnnotationAction, Object) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the AnnotationAuthorChangedEventArgs class.
public:
AnnotationAuthorChangedEventArgs(System::Windows::Annotations::Annotation ^ annotation, System::Windows::Annotations::AnnotationAction action, System::Object ^ author);
public AnnotationAuthorChangedEventArgs (System.Windows.Annotations.Annotation annotation, System.Windows.Annotations.AnnotationAction action, object author);
new System.Windows.Annotations.AnnotationAuthorChangedEventArgs : System.Windows.Annotations.Annotation * System.Windows.Annotations.AnnotationAction * obj -> System.Windows.Annotations.AnnotationAuthorChangedEventArgs
Public Sub New (annotation As Annotation, action As AnnotationAction, author As Object)
Parameters
- annotation
- Annotation
The annotation raising the event.
- action
- AnnotationAction
The author operation performed: Added, Removed, or Modified.
- author
- Object
The author object being changed by the event.
Exceptions
annotation
or action
is a null reference (Nothing in Visual Basic).
action
is an invalid AnnotationAction.
Remarks
AnnotationAuthorChangedEventArgs is passed as a parameter to the AnnotationAuthorChangedEventHandler whenever an AuthorChanged event occurs on an annotation.