AutomationProperties.GetAnnotations(DependencyObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.