ITextEditorFactoryService::CreateTextViewRoleSet Method (IEnumerable<String^>^)

 

Creates a ITextViewRoleSet containing the given roles.

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

ITextViewRoleSet^ CreateTextViewRoleSet(
	IEnumerable<String^>^ roles
)

Parameters

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

The roles.

Return Value

Type: Microsoft.VisualStudio.Text.Editor::ITextViewRoleSet^

The text view role set.

Exception Condition
ArgumentNullException

roles is null.

Return to top
Show: