Share via


AutomationProperties.GetAnnotations(DependencyObject) Method

Definition

Gets the value of the AutomationProperties.Annotations property for the specified 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)

Parameters

element
DependencyObject

The specified DependencyObject.

Returns

The value of the AutomationProperties.Annotations property.

Applies to