AnnotationResourceChangedEventArgs 类

定义

提供有关 AnchorChangedCargoChanged 事件的数据。Provides data for the AnchorChanged and CargoChanged events.

public ref class AnnotationResourceChangedEventArgs sealed : EventArgs
public sealed class AnnotationResourceChangedEventArgs : EventArgs
type AnnotationResourceChangedEventArgs = class
    inherit EventArgs
Public NotInheritable Class AnnotationResourceChangedEventArgs
Inherits EventArgs
继承
AnnotationResourceChangedEventArgs

注解

Modified Removed Added数据包括引发事件的、与事件关联的定位点或货物资源, 以及所采用的操作-、或。 Annotation AnnotationResourceChangedEventArgsThe AnnotationResourceChangedEventArgs data includes the Annotation that raised the event, the anchor or cargo resource associated with the event, and the action that was taken - Added, Removed, or Modified.

构造函数

AnnotationResourceChangedEventArgs(Annotation, AnnotationAction, AnnotationResource)

初始化 AnnotationResourceChangedEventArgs(Annotation, AnnotationAction, AnnotationResource) 类的新实例。Initializes a new instance of the AnnotationResourceChangedEventArgs(Annotation, AnnotationAction, AnnotationResource) class.

属性

Action

获取批注 Resource 的操作。Gets the action of the annotation Resource.

Annotation

获取引发事件的 AnnotationGets the Annotation that raised the event.

Resource

获取与该事件相关联的 AnchorsCargos 资源。Gets the Anchors or Cargos resource associated with the event.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅