Partager via


ITextViewRoleSet.ContainsAll(IEnumerable<String>) Method

Definition

Compute whether the set contains all of the given text view roles.

public:
 bool ContainsAll(System::Collections::Generic::IEnumerable<System::String ^> ^ textViewRoles);
public bool ContainsAll (System.Collections.Generic.IEnumerable<string> textViewRoles);
abstract member ContainsAll : seq<string> -> bool
Public Function ContainsAll (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 all of the given text view roles, otherwise false.

Exceptions

if textViewRoles is null.

Remarks

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

Applies to