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
.NET Framework Developer Center
Home
Library
Learn
Downloads
Support
Community
Forums
Printer Friendly Version
Send
Add Content...
Click to Rate and Give Feedback
Give feedback on this content
Switch View
x
Classic
Lightweight Beta
ScriptFree
Switch View
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
.NET Development
Please Wait
.NET Framework 3.5
Please Wait
.NET Framework Class Library
Please Wait
System.Windows.Forms Namespace
Please Wait
BindingSource Class
Please Wait
BindingSource 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 .NET Compact Framework Members
Include XNA Framework Members
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5
Other versions are also available for the following:
Microsoft Visual Studio 2005/.NET Framework 2.0
.NET Framework 3.0
Microsoft Visual Studio 2010/.NET Framework 4.0
.NET Framework Class Library
BindingSource Methods
The
BindingSource
type exposes the following members.
Methods
Name
Description
Add
Adds an existing item to the internal list.
AddNew
Adds a new item to the underlying list.
ApplySort
Overloaded.
Sorts the data source with the specified sort description or descriptions.
CancelEdit
Cancels the current edit operation.
Clear
Removes all elements from the list.
Contains
Determines whether an object is an item in the list.
CopyTo
Copies the contents of the
List
to the specified array, starting at the specified index value.
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
Overloaded.
EndEdit
Applies pending changes to the underlying data source.
Equals
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
.)
Find
Overloaded.
Find the specified item in the data source.
GetEnumerator
Retrieves an enumerator for the
List
.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from
Object
.)
GetItemProperties
Retrieves an array of
PropertyDescriptor
objects representing the bindable properties of the data source list type.
GetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from
MarshalByRefObject
.)
GetListName
Gets the name of the list supplying data for the binding.
GetRelatedCurrencyManager
Gets the related currency manager for the specified data member.
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
.)
IndexOf
Searches for the specified object and returns the index of the first occurrence within the entire list.
InitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from
MarshalByRefObject
.)
Insert
Inserts an item into the list at the specified index.
MemberwiseClone
Overloaded.
MoveFirst
Moves to the first item in the list.
MoveLast
Moves to the last item in the list.
MoveNext
Moves to the next item in the list.
MovePrevious
Moves to the previous item in the list.
OnAddingNew
Raises the
AddingNew
event.
OnBindingComplete
Raises the
BindingComplete
event.
OnCurrentChanged
Raises the
CurrentChanged
event.
OnCurrentItemChanged
Raises the
CurrentItemChanged
event.
OnDataError
Raises the
DataError
event.
OnDataMemberChanged
Raises the
DataMemberChanged
event.
OnDataSourceChanged
Raises the
DataSourceChanged
event.
OnListChanged
Raises the
ListChanged
event.
OnPositionChanged
Raises the
PositionChanged
event.
Remove
Removes the specified item from the list.
RemoveAt
Removes the item at the specified index in the list.
RemoveCurrent
Removes the current item from the list.
RemoveFilter
Removes the filter associated with the
BindingSource
.
RemoveSort
Removes the sort associated with the
BindingSource
.
ResetAllowNew
Infrastructure.
Reinitializes the
AllowNew
property.
ResetBindings
Causes a control bound to the
BindingSource
to reread all the items in the list and refresh their displayed values.
ResetCurrentItem
Causes a control bound to the
BindingSource
to reread the currently selected item and refresh its displayed value.
ResetItem
Causes a control bound to the
BindingSource
to reread the item at the specified index, and refresh its displayed value.
ResumeBinding
Resumes data binding.
SuspendBinding
Suspends data binding to prevent changes from updating the bound data source.
ToString
Overloaded.
Top
Extension Methods
Name
Description
AsQueryable
Converts an
IEnumerable
to an
IQueryable
.
(Defined by
Queryable
.)
Cast
Converts the elements of an
IEnumerable
to the specified type.
(Defined by
Enumerable
.)
OfType
Filters the elements of an
IEnumerable
based on a specified type.
(Defined by
Enumerable
.)
Top
Explicit Interface Implementations
Name
Description
IBindingList
.
.
::
.
AddIndex
Adds the
PropertyDescriptor
to the indexes used for searching.
ISupportInitialize
.
.
::
.
BeginInit
Signals the
BindingSource
that initialization is starting.
ICancelAddNew
.
.
::
.
CancelNew
Discards a pending new item from the collection.
ISupportInitialize
.
.
::
.
EndInit
Signals the
BindingSource
that initialization is complete.
ICancelAddNew
.
.
::
.
EndNew
Commits a pending new item to the collection.
IBindingList
.
.
::
.
RemoveIndex
Removes the
System.ComponentModel
.
.
::
.
PropertyDescriptor
from the indexes used for searching.
Top
See Also
Reference
BindingSource 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
© 2009 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement
|
Site Feedback