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 DependencyObject to check.

Returns

The value of the AutomationProperties.Annotations property.

Applies to

See also