System.Windows.Forms.ICurrencyManagerProvider.GetRelatedCurrencyManager Method

Gets the System.Windows.Forms.CurrencyManager for this System.Windows.Forms.ICurrencyManagerProvider and the specified data member.

Syntax

public CurrencyManager GetRelatedCurrencyManager (string dataMember)

Parameters

dataMember
The name of the column or list, within the data source, to obtain the System.Windows.Forms.CurrencyManager for.

Returns

The related System.Windows.Forms.CurrencyManager obtained from this System.Windows.Forms.ICurrencyManagerProvider and the specified data member.

Remarks

If dataMember is null or an empty string (""), ICurrencyManagerProvider.GetRelatedCurrencyManager(string) returns the main currency manager for this System.Windows.Forms.ICurrencyManagerProvider, which is the same currency manager returned from the ICurrencyManagerProvider.CurrencyManager property.

Requirements

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