Gets the data source component from the associated control container, resolved to a specific data member.
Assembly: System.Design (in System.Design.dll)
Return ValueType: System.Collections.IEnumerable
An object implementing an IEnumerable interface containing the design-time DataSource of the associated control, resolved to the DataMember parameter; otherwise, null if a data source is not found.
- 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.