ITextEditorFactoryService.CreateTextViewRoleSet Method (array<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)
Syntax
'Declaration
Function CreateTextViewRoleSet ( _
ParamArray roles As String() _
) As ITextViewRoleSet
ITextViewRoleSet CreateTextViewRoleSet(
params string[] roles
)
ITextViewRoleSet^ CreateTextViewRoleSet(
... array<String^>^ roles
)
abstract CreateTextViewRoleSet :
roles:string[] -> ITextViewRoleSet
function CreateTextViewRoleSet(
... roles : String[]
) : ITextViewRoleSet
Parameters
- roles
Type: array<System.String[]
The roles.
Return Value
Type: Microsoft.VisualStudio.Text.Editor.ITextViewRoleSet
The text view role set.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ITextEditorFactoryService Interface