Partilhar via


ITextViewRoleSet.ContainsAny(IEnumerable<String>) Method

Definition

Compute whether the set contains at least one of the given text view roles.

public:
 bool ContainsAny(System::Collections::Generic::IEnumerable<System::String ^> ^ textViewRoles);
public bool ContainsAny (System.Collections.Generic.IEnumerable<string> textViewRoles);
abstract member ContainsAny : seq<string> -> bool
Public Function ContainsAny (textViewRoles As IEnumerable(Of String)) As Boolean

Parameters

textViewRoles
IEnumerable<String>

The list of roles to check for inclusion.

Returns

true if the set contains at least one of the given text view roles, otherwise false.

Exceptions

if textViewRoles is null.

Remarks

Returns false if textViewRoles contains no roles. Null values in textViewRoles are ignored.

Applies to