Determines whether a control on the page has an error.
Namespace:
Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in
microsoft.configurationmanagement.dll)
Usage
Visual Basic |
Dim errorControl As Control
Dim returnValue As Boolean
returnValue = Me.HasError(errorControl)
|
Syntax
Visual Basic |
Protected Overridable Function HasError ( _
<OutAttribute> ByRef errorControl As Control _
) As Boolean
|
C# |
protected virtual bool HasError (
out Control errorControl
)
|
C++ |
protected:
virtual bool HasError (
[OutAttribute] Control^% errorControl
)
|
J# |
protected boolean HasError (
/** @attribute OutAttribute() */ /** @ref */ Control errorControl
)
|
Parameters
- errorControl
-
[out] Reference to a System.Windows.Forms.Control object.
Return Value
true if a control has an error; otherwise
false.
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2003,Windows Vista
See Also