DataFieldConverter.GetStandardValues(ITypeDescriptorContext) DataFieldConverter.GetStandardValues(ITypeDescriptorContext) DataFieldConverter.GetStandardValues(ITypeDescriptorContext) DataFieldConverter.GetStandardValues(ITypeDescriptorContext) Method

定義

當資料來源可取用時,取得該資料來源中的資料欄位。Gets the data fields present within the selected data source if information about them is available.

public:
 override System::ComponentModel::TypeConverter::StandardValuesCollection ^ GetStandardValues(System::ComponentModel::ITypeDescriptorContext ^ context);
public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues (System.ComponentModel.ITypeDescriptorContext context);
override this.GetStandardValues : System.ComponentModel.ITypeDescriptorContext -> System.ComponentModel.TypeConverter.StandardValuesCollection
Public Overrides Function GetStandardValues (context As ITypeDescriptorContext) As TypeConverter.StandardValuesCollection

參數

context
ITypeDescriptorContext ITypeDescriptorContext ITypeDescriptorContext ITypeDescriptorContext

ITypeDescriptorContext 物件,表示要取得值的元件或控制項。An ITypeDescriptorContext object indicating the component or control to get values for.

傳回

備註

這個方法會使用IDataSourceProvider元件設計工具上的實作為取得選取的資料來源。This method uses the IDataSourceProvider implementation on the component's designer to retrieve the selected data source.

適用於