Compartilhar via


TextViewRoleAttribute Class

Definition

Use this attribute to specify the kinds of TextViews to which an extension applies.

public ref class TextViewRoleAttribute sealed : Microsoft::VisualStudio::Utilities::MultipleBaseMetadataAttribute
public ref class TextViewRoleAttribute sealed : Microsoft::VisualStudio::Utilities::MultipleBaseMetadataAttribute
public sealed class TextViewRoleAttribute : Microsoft.VisualStudio.Utilities.MultipleBaseMetadataAttribute
type TextViewRoleAttribute = class
    inherit MultipleBaseMetadataAttribute
Public NotInheritable Class TextViewRoleAttribute
Inherits MultipleBaseMetadataAttribute
Inheritance

Remarks

There is a special set of text view roles defined in PredefinedTextViewRoles. For more information about text view roles, see Language Service and Editor Extension Points.

Constructors

TextViewRoleAttribute(String)

Construct a new instance of the attribute.

Properties

TextViewRoles

The role name.

Applies to