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
'宣告
ReadOnly Property Roles As ITextViewRoleSet
Get
ITextViewRoleSet Roles { get; }
property ITextViewRoleSet^ Roles {
ITextViewRoleSet^ get ();
}
abstract Roles : ITextViewRoleSet
function get Roles () : ITextViewRoleSet
Property Value
Type: Microsoft.VisualStudio.Text.Editor.ITextViewRoleSet
The roles which this view plays.
.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.