Redigera

Dela via


BindingSource.GetRelatedCurrencyManager(String) Method

Definition

Gets the related currency manager for the specified data member.

public:
 virtual System::Windows::Forms::CurrencyManager ^ GetRelatedCurrencyManager(System::String ^ dataMember);
public virtual System.Windows.Forms.CurrencyManager GetRelatedCurrencyManager (string dataMember);
public virtual System.Windows.Forms.CurrencyManager? GetRelatedCurrencyManager (string? dataMember);
abstract member GetRelatedCurrencyManager : string -> System.Windows.Forms.CurrencyManager
override this.GetRelatedCurrencyManager : string -> System.Windows.Forms.CurrencyManager
Public Overridable Function GetRelatedCurrencyManager (dataMember As String) As CurrencyManager

Parameters

dataMember
String

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

Returns

The related CurrencyManager for the specified data member.

Implements

Remarks

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

Applies to