Partager via


ITextEditorFactoryService.DefaultRoles Property

The set of roles that are used when creating a text view without specifying text view roles.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaration
ReadOnly Property DefaultRoles As ITextViewRoleSet
ITextViewRoleSet DefaultRoles { get; }
property ITextViewRoleSet^ DefaultRoles {
    ITextViewRoleSet^ get ();
}
abstract DefaultRoles : ITextViewRoleSet with get
function get DefaultRoles () : ITextViewRoleSet

Property Value

Type: Microsoft.VisualStudio.Text.Editor.ITextViewRoleSet
The default roles.

.NET Framework Security

See Also

Reference

ITextEditorFactoryService Interface

Microsoft.VisualStudio.Text.Editor Namespace