Partager via


ITextView.Roles Property

The roles which this view plays. Roles partially determine the extensions that are instantiated for the view.

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

Syntax

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

Property Value

Type: Microsoft.VisualStudio.Text.Editor.ITextViewRoleSet
The roles which this view plays.

.NET Framework Security

See Also

Reference

ITextView Interface

Microsoft.VisualStudio.Text.Editor Namespace