Share via


TextMarkerTag Constructor

Initializes a new instance of a TextMarkerTag of the given type.

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

Syntax

'Declaration
Public Sub New ( _
    type As String _
)
public TextMarkerTag(
    string type
)
public:
TextMarkerTag(
    String^ type
)
new : 
        type:string -> TextMarkerTag
public function TextMarkerTag(
    type : String
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

type is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

TextMarkerTag Class

Microsoft.VisualStudio.Text.Tagging Namespace