共用方式為


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
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

See Also

Reference

ITextView Interface

Microsoft.VisualStudio.Text.Editor Namespace