ITextViewRoleSet::Contains Method (String^)

 

Determines whether the given text view role is a member of the set.

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

bool Contains(
	String^ textViewRole
)

Parameters

textViewRole
Type: System::String^

The role.

Return Value

Type: System::Boolean

true if the given text view role is a member of the set, otherwise false.

Exception Condition
ArgumentNullException

textViewRole is null.

Return to top
Show: