Editar

Compartilhar via


ICurrencyManagerProvider.GetRelatedCurrencyManager(String) Method

Definition

Gets the CurrencyManager for this ICurrencyManagerProvider and the specified data member.

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

Parameters

dataMember
String

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

Returns

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

Remarks

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

Applies to