-api-id | -api-type |
---|---|
M:Microsoft.UI.Xaml.Automation.Provider.ITextRangeProvider.FindAttribute(System.Int32,System.Object,System.Boolean) |
winrt method |
Returns a text range subset that has the specified attribute ID and attribute value.
The attribute ID to search for.
The attribute value to search for. This value must match the type specified for the attribute.
true if the last occurring text range should be returned instead of the first; otherwise, false.
A text range that has a matching attribute ID and attribute value; otherwise null.