ErrorTag Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ErrorTag() |
Initializes a new instance of a ErrorTag of type SyntaxError with no tooltip content. |
ErrorTag(String) |
Initializes a new instance of a ErrorTag of the specified type with no tooltip content. |
ErrorTag(String, Object) |
Initializes a new instance of a ErrorTag of the specified type. |
ErrorTag()
Initializes a new instance of a ErrorTag of type SyntaxError with no tooltip content.
public:
ErrorTag();
public:
ErrorTag();
ErrorTag();
public ErrorTag ();
Public Sub New ()
Applies to
ErrorTag(String)
Initializes a new instance of a ErrorTag of the specified type with no tooltip content.
public:
ErrorTag(System::String ^ errorType);
public:
ErrorTag(Platform::String ^ errorType);
ErrorTag(std::wstring const & errorType);
public ErrorTag (string errorType);
new Microsoft.VisualStudio.Text.Tagging.ErrorTag : string -> Microsoft.VisualStudio.Text.Tagging.ErrorTag
Public Sub New (errorType As String)
Parameters
- errorType
- String
The type of error to use,
Applies to
ErrorTag(String, Object)
Initializes a new instance of a ErrorTag of the specified type.
public:
ErrorTag(System::String ^ errorType, System::Object ^ toolTipContent);
public:
ErrorTag(Platform::String ^ errorType, Platform::Object ^ toolTipContent);
ErrorTag(std::wstring const & errorType, winrt::Windows::Foundation::IInspectable const & toolTipContent);
public ErrorTag (string errorType, object toolTipContent);
new Microsoft.VisualStudio.Text.Tagging.ErrorTag : string * obj -> Microsoft.VisualStudio.Text.Tagging.ErrorTag
Public Sub New (errorType As String, toolTipContent As Object)
Parameters
- errorType
- String
The type of error to use.
- toolTipContent
- Object
The tooltip content to display. May be null.
Exceptions
errorType
is null.