DataProviderNameConverter.GetStandardValues(ITypeDescriptorContext) メソッド

定義

使用できる ActiveX® Data Objects (ADO) for the .NET Framework (ADO.NET) プロバイダー名のリストを返します。

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 を実装するオブジェクト。それにより、型コンバーターは変換を実行できます。

戻り値

使用できる ADO.NET プロバイダー名を格納している TypeConverter.StandardValuesCollection

注釈

メソッドは GetStandardValues 、 メソッドを GetFactoryClasses 使用して、 DataTable ADO.NET プロバイダー名を含むオブジェクトを返します。 これを DataTable 文字列配列に変換し、この配列を TypeConverter.StandardValuesCollection オブジェクトに変換します。

パラメーターは context では GetStandardValues使用されません。

適用対象

こちらもご覧ください