다음을 통해 공유


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

‘선언
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

Return Value

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

.NET Framework Security

See Also

Reference

ITextEditorFactoryService Interface

CreateTextViewRoleSet Overload

Microsoft.VisualStudio.Text.Editor Namespace