ICurrencyManagerProvider.GetRelatedCurrencyManager(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.