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
- type
Type: System.String
The type of text marker to use.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | type is nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.