DataProviderNameConverter.GetStandardValues(ITypeDescriptorContext) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
.NET Framework (ADO.NET) プロバイダー名に使用できる ActiveX® データ オブジェクト (ADO) の一覧を返します。
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 メソッドを使用して、ADO.NET プロバイダー名を含む DataTable オブジェクトを返します。 この DataTable を文字列配列に変換し、この配列を TypeConverter.StandardValuesCollection オブジェクトに変換します。
context パラメーターは、GetStandardValuesでは使用されません。