QuickOPC User's Guide and Reference
GetError Method



OpcLabs.BaseLibPresentation Assembly > OpcLabs.BaseLib.Presentation.ComponentModel Namespace > ErrorProvider Class : GetError Method
The component on which the extender property resides.
Gets the current error description string for the specified element.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<BrowsableAttribute(False)>
Public Function GetError( _
   ByVal component As Object _
) As String
'Usage
 
Dim instance As ErrorProvider
Dim component As Object
Dim value As String
 
value = instance.GetError(component)
[CanBeNull()]
[Browsable(false)]
public string GetError( 
   object component
)
[CanBeNull()]
[Browsable(false)]
public:
String^ GetError( 
   Object^ component
) 

Parameters

component
The component on which the extender property resides.

Return Value

The current error description string for the specified element..
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also