ITextViewRoleSet::ContainsAll Method (IEnumerable<String^>^)
Visual Studio 2015
Determines whether the set contains all of the given text view roles.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Parameters
- textViewRoles
-
Type:
System.Collections.Generic::IEnumerable<String^>^
The list of roles to check for inclusion.
Return Value
Type: System::Booleantrue if the set contains all of the given text view roles, otherwise false.
| Exception | Condition |
|---|---|
| ArgumentNullException | if textViewRoles is null. |
Returns true if textViewRoles contains no roles. Null values in textViewRoles are ignored.
Show: