Partilhar via


ITextEditorFactoryService.CreateTextViewRoleSet Method

Definition

Overloads

CreateTextViewRoleSet(IEnumerable<String>)

Creates a ITextViewRoleSet containing the given roles.

CreateTextViewRoleSet(String[])

Creates a ITextViewRoleSet containing the given roles.

CreateTextViewRoleSet(IEnumerable<String>)

Creates a ITextViewRoleSet containing the given roles.

public:
 Microsoft::VisualStudio::Text::Editor::ITextViewRoleSet ^ CreateTextViewRoleSet(System::Collections::Generic::IEnumerable<System::String ^> ^ roles);
public Microsoft.VisualStudio.Text.Editor.ITextViewRoleSet CreateTextViewRoleSet (System.Collections.Generic.IEnumerable<string> roles);
abstract member CreateTextViewRoleSet : seq<string> -> Microsoft.VisualStudio.Text.Editor.ITextViewRoleSet
Public Function CreateTextViewRoleSet (roles As IEnumerable(Of String)) As ITextViewRoleSet

Parameters

roles
IEnumerable<String>

The roles of interest.

Returns

The text view role set.

Exceptions

roles is null.

Applies to

CreateTextViewRoleSet(String[])

Creates a ITextViewRoleSet containing the given roles.

public:
 Microsoft::VisualStudio::Text::Editor::ITextViewRoleSet ^ CreateTextViewRoleSet(... cli::array <System::String ^> ^ roles);
public Microsoft.VisualStudio.Text.Editor.ITextViewRoleSet CreateTextViewRoleSet (params string[] roles);
abstract member CreateTextViewRoleSet : string[] -> Microsoft.VisualStudio.Text.Editor.ITextViewRoleSet
Public Function CreateTextViewRoleSet (ParamArray roles As String()) As ITextViewRoleSet

Parameters

roles
String[]

The roles of interest.

Returns

The text view role set.

Applies to