語言

Annotation.CargoChanged 活動

定義

當註解 Cargos清單中貨物被新增、移除或修改時,會發生。

public:
 event System::Windows::Annotations::AnnotationResourceChangedEventHandler ^ CargoChanged;
public event System.Windows.Annotations.AnnotationResourceChangedEventHandler CargoChanged;
member this.CargoChanged : System.Windows.Annotations.AnnotationResourceChangedEventHandler 
Public Custom Event CargoChanged As AnnotationResourceChangedEventHandler 
Public Event CargoChanged As AnnotationResourceChangedEventHandler 

事件類型

備註

此外,貨物的新增或移除也發生CargoChanged在貨物子部分的任何修改上,例如貨物集合中的變更XmlElementContents。

適用於