TextViewRoleAttribute Class
TOC
Collapse the table of content
Expand the table of content

TextViewRoleAttribute Class

 

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

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

System.Object
  System.Attribute
    Microsoft.VisualStudio.Utilities.MultipleBaseMetadataAttribute
      Microsoft.VisualStudio.Text.Editor.TextViewRoleAttribute

public sealed class TextViewRoleAttribute : MultipleBaseMetadataAttribute

NameDescription
System_CAPS_pubmethodTextViewRoleAttribute(String)

Construct a new instance of the attribute.

NameDescription
System_CAPS_pubpropertyTextViewRoles

Gets the role name.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft