ITextViewRoleSet::ContainsAll Method (IEnumerable<String^>^)

 

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

Namespace:   Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

bool ContainsAll(
	IEnumerable<String^>^ textViewRoles
)

Parameters

textViewRoles
Type: System.Collections.Generic::IEnumerable<String^>^

The list of roles to check for inclusion.

Return Value

Type: System::Boolean

true 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.

Return to top
Show: