ErrorTag Constructor (String)
Initializes a new instance of a ErrorTag of the specified type with no tooltip content.
Namespace: Microsoft.VisualStudio.Text.Tagging
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'宣言
Public Sub New ( _
errorType As String _
)
public ErrorTag(
string errorType
)
public:
ErrorTag(
String^ errorType
)
new :
errorType:string -> ErrorTag
public function ErrorTag(
errorType : String
)
Parameters
- errorType
Type: System.String
The type of error to use,
.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.