共用方式為


AutomationProperties.GetAnnotations(DependencyObject) 方法

定義

public:
 static IVector<AutomationAnnotation ^> ^ GetAnnotations(DependencyObject ^ element);
 static IVector<AutomationAnnotation> GetAnnotations(DependencyObject const& element);
public static IList<AutomationAnnotation> GetAnnotations(DependencyObject element);
function getAnnotations(element)
Public Shared Function GetAnnotations (element As DependencyObject) As IList(Of AutomationAnnotation)

參數

element
DependencyObject

指定的 DependencyObject

傳回

AutomationProperties.Annotations屬性的值。

適用於