ITextEditorFactoryService.CreateTextViewRoleSet Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.