AnnotationAuthorChangedEventArgs(Annotation, AnnotationAction, Object) 构造函数

定义

初始化 AnnotationAuthorChangedEventArgs 类的新实例。

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)

参数

annotation
Annotation

引发此事件的批注。

action
AnnotationAction

作者已执行的操作:AddedRemovedModified

author
Object

由事件更改的作者对象。

例外

annotationaction 是一个 null 引用 (Visual Basic) 中 Nothing

action 是一个无效的 AnnotationAction

注解

每当批注上发生事件AuthorChanged时,AnnotationAuthorChangedEventArgs 将作为参数传递给 AnnotationAuthorChangedEventHandler

适用于