Export (0) Print
Expand All

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: IEnumerable<String>

The roles.

Return Value

Type: Microsoft.VisualStudio.Text.Editor.ITextViewRoleSet
The text view role set.

ExceptionCondition
ArgumentNullException

roles is null.

Show:
© 2015 Microsoft