Upgrade your Internet Experience
United States - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Welcome
Sign in
Microsoft Developer Network
Home
Library
Learn
Samples
Downloads
Support
Community
Forums
Classic
  |  
Lightweight
  |  
ScriptFree
Printer Friendly Version
Send
Add Content...
Click to Rate and Give Feedback
Give feedback on this content
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
.NET Development
Please Wait
.NET Framework 4
Please Wait
.NET Framework Class Library
Please Wait
System.Windows Namespaces
Please Wait
System.Windows.Forms
Please Wait
ErrorProvider Class
Please Wait
ErrorProvider Methods
Please Wait
Collapse All
Expand All
Language Filter
Visual Basic
C#
C++
J#
JScript
XAML
F#
Members Filter
Include Protected Members
Include Inherited Members
Frameworks Filter
Include .NET Framework Members
Include XNA Framework Members
This page is specific to
Microsoft Visual Studio 2010/.NET Framework 4
Other versions are also available for the following:
Microsoft Visual Studio 2003/.NET Framework 1.1
.NET Framework 3.0
Microsoft Visual Studio 2008/.NET Framework 3.5
Microsoft Visual Studio 11/.NET Framework 4.5
.NET Framework Class Library
ErrorProvider Methods
The
ErrorProvider
type exposes the following members.
Methods
Name
Description
BindToDataAndErrors
Provides a method to set both the
DataSource
and
DataMember
at run time.
CanExtend
Gets a value indicating whether a control can be extended.
Clear
Clears all settings associated with this component.
CreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from
MarshalByRefObject
.)
Dispose
()
()
()
Releases all resources used by the
Component
.
(Inherited from
Component
.)
Dispose(Boolean)
Releases the unmanaged resources used by the
Component
and optionally releases the managed resources. (Overrides
Component
.
.
::
.
Dispose(Boolean)
.)
Equals(Object)
Determines whether the specified
Object
is equal to the current
Object
.
(Inherited from
Object
.)
Finalize
Releases unmanaged resources and performs other cleanup operations before the
Component
is reclaimed by garbage collection.
(Inherited from
Component
.)
GetError
Returns the current error description string for the specified control.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from
Object
.)
GetIconAlignment
Gets a value indicating where the error icon should be placed in relation to the control.
GetIconPadding
Returns the amount of extra space to leave next to the error icon.
GetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from
MarshalByRefObject
.)
GetService
Returns an object that represents a service provided by the
Component
or by its
Container
.
(Inherited from
Component
.)
GetType
Gets the
Type
of the current instance.
(Inherited from
Object
.)
InitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from
MarshalByRefObject
.)
MemberwiseClone
()
()
()
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
MemberwiseClone(Boolean)
Creates a shallow copy of the current
MarshalByRefObject
object.
(Inherited from
MarshalByRefObject
.)
OnRightToLeftChanged
Raises the
RightToLeftChanged
event.
SetError
Sets the error description string for the specified control.
SetIconAlignment
Sets the location where the error icon should be placed in relation to the control.
SetIconPadding
Sets the amount of extra space to leave between the specified control and the error icon.
ToString
Returns a
String
containing the name of the
Component
, if any. This method should not be overridden.
(Inherited from
Component
.)
UpdateBinding
Provides a method to update the bindings of the
DataSource
,
DataMember
, and the error text.
Top
Explicit Interface Implementations
Name
Description
ISupportInitialize
.
.
::
.
BeginInit
Signals the object that initialization is starting.
ISupportInitialize
.
.
::
.
EndInit
Signals the object that initialization is complete.
Top
See Also
Reference
ErrorProvider Class
System.Windows.Forms Namespace
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
Community Content
Add new content
Annotations
|
Edit
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
© 2012 Microsoft. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement