System.Windows.Forms.BindingSource.GetRelatedCurrencyManager Method

Gets the related currency manager for the specified data member.

Syntax

public virtual CurrencyManager GetRelatedCurrencyManager (string dataMember)

Parameters

dataMember
The name of column or list, within the data source to retrieve the currency manager for.

Returns

The related System.Windows.Forms.CurrencyManager for the specified data member.

Remarks

If dataMember is null or an empty string (""), BindingSource.GetRelatedCurrencyManager(string) returns the main currency manager; otherwise, it checks for another System.Windows.Forms.BindingSource bound to the specified data member and returns its currency manager.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0