ITextRangeProvider.FindAttribute(Int32, Object, Boolean) Metodo

Definizione

Restituisce un subset dell'intervallo di testo con l'ID attributo e il valore dell'attributo specificati.

public:
 ITextRangeProvider ^ FindAttribute(int attributeId, Platform::Object ^ value, bool backward);
ITextRangeProvider FindAttribute(int const& attributeId, IInspectable const& value, bool const& backward);
public ITextRangeProvider FindAttribute(int attributeId, object value, bool backward);
function findAttribute(attributeId, value, backward)
Public Function FindAttribute (attributeId As Integer, value As Object, backward As Boolean) As ITextRangeProvider

Parametri

attributeId
Int32

int

ID attributo da cercare.

value
Object

Platform::Object

IInspectable

Valore dell'attributo da cercare. Questo valore deve corrispondere al tipo specificato per l'attributo.

backward
Boolean

bool

true se l'ultimo intervallo di testo deve essere restituito anziché il primo; in caso contrario, false.

Restituisce

Intervallo di testo con ID attributo corrispondente e valore attributo; in caso contrario null.

Si applica a