BindingSource.GetRelatedCurrencyManager(String) 方法

定義

取得指定之資料成員的相關 Currency 管理員。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);
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

參數

dataMember
String

資料來源中資料行或清單的名稱,要為其擷取 Currency 管理員。The name of column or list, within the data source to retrieve the currency manager for.

傳回

CurrencyManager

指定資料成員的相關 CurrencyManagerThe related CurrencyManager for the specified data member.

實作

備註

如果 dataMembernull 或 ( "" ) 的空字串,則會傳回 GetRelatedCurrencyManager 主要的貨幣管理員; 否則,它會檢查是否有另一個系結 BindingSource 至指定的資料成員並傳回其 currency 管理員。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.

適用於