WatermarkUserControl.ShowError Method
Shows an error similar to the C# WinForms application .settings designer when it experiences an error.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Common.UI.WatermarkControl
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Sub ShowError ( _
text As String _
)
'Usage
Dim instance As WatermarkUserControl
Dim text As String
instance.ShowError(text)
public void ShowError(
string text
)
public:
void ShowError(
String^ text
)
public function ShowError(
text : String
)
member ShowError :
text:string -> unit
Parameters
- text
Type: System.String
The error text
.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.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Common.UI.WatermarkControl Namespace