Share via


TextMarkerTag.Type Property

Gets the type of adornment to use.

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

Syntax

'Declaration
Public Property Type As String
public string Type { get; private set; }
public:
virtual property String^ Type {
    String^ get () sealed;
    private: void set (String^ value) sealed;
}
abstract Type : string with get, private set 
override Type : string with get, private set
final function get Type () : String 
private final function set Type (value : String)

Property Value

Type: System.String
The type of adornment to use. This is the type that was specified in the constructor, for example "blue".

Implements

ITextMarkerTag.Type

Remarks

For more information about how to use a TextMarkerTag, see Walkthrough: Displaying Matching Braces.

.NET Framework Security

See Also

Reference

TextMarkerTag Class

Microsoft.VisualStudio.Text.Tagging Namespace