NullableConverter.CreateInstance(ITypeDescriptorContext, IDictionary) メソッド

定義

オブジェクトのプロパティ値のセットを指定すると、指定したコンテキストを使用して、この TypeConverter が関連付けられている型のインスタンスを作成します。

public:
 override System::Object ^ CreateInstance(System::ComponentModel::ITypeDescriptorContext ^ context, System::Collections::IDictionary ^ propertyValues);
public override object CreateInstance(System.ComponentModel.ITypeDescriptorContext context, System.Collections.IDictionary propertyValues);
override this.CreateInstance : System.ComponentModel.ITypeDescriptorContext * System.Collections.IDictionary -> obj
Public Overrides Function CreateInstance (context As ITypeDescriptorContext, propertyValues As IDictionary) As Object

パラメーター

context
ITypeDescriptorContext

形式コンテキストを提供する ITypeDescriptorContext

propertyValues
IDictionary

新しいプロパティ値の IDictionary

返品

指定したIDictionaryを表すObject。オブジェクトを作成できない場合はnull。 このメソッドは常に null を返します。

適用対象

こちらもご覧ください