Int32CollectionConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) Int32CollectionConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) Int32CollectionConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) Int32CollectionConverter.ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) Method

定義

Int32Collection のインスタンスの指定した型への変換を試みます。Attempts to convert an instance of Int32Collection to a specified type.

public:
 override System::Object ^ ConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value, Type ^ destinationType);
public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType);
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj
Public Overrides Function ConvertTo (context As ITypeDescriptorContext, culture As CultureInfo, value As Object, destinationType As Type) As Object

パラメーター

context
ITypeDescriptorContext ITypeDescriptorContext ITypeDescriptorContext ITypeDescriptorContext

変換のために使用されるコンテキスト情報。Context information used for conversion.

culture
CultureInfo CultureInfo CultureInfo CultureInfo

変換時に考慮されるカルチャ情報。Cultural information that is respected during conversion.

value
Object Object Object Object

変換する Int32CollectionInt32Collection to convert.

destinationType
Type Type Type Type

変換の評価対象である型。Type being evaluated for conversion.

戻り値

destinationType の新しいインスタンス。A new instance of the destinationType.

例外

valuenull または無効な型です。value is null or the type invalid.

適用対象