ICurrencyManagerProvider.GetRelatedCurrencyManager(String) 方法

定义

获取此 CurrencyManager 和指定数据成员的 ICurrencyManagerProvider

public:
 System::Windows::Forms::CurrencyManager ^ GetRelatedCurrencyManager(System::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

参数

dataMember
String

数据源中要获取其 CurrencyManager 的列或列表的名称。

返回

CurrencyManager

从此 CurrencyManager 和指定的数据成员获取的相关 ICurrencyManagerProvider

注解

如果 dataMembernull 空字符串 (“”“) , GetRelatedCurrencyManager 则返回该 ICurrencyManagerProvider属性返回的主货币管理器,这是从属性返回的 CurrencyManager 相同货币管理器。

适用于