Aracılığıyla paylaş


PixelFormatConverter.ConvertTo Yöntem

Tanım

bir örneğini PixelFormat belirtilen türe dönüştürmeyi dener.

public:
 override System::Object ^ ConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value, Type ^ destinationType);
[System.Security.SecurityCritical]
public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType);
public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType);
[<System.Security.SecurityCritical>]
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj
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

Parametreler

context
ITypeDescriptorContext

Dönüştürme için kullanılan bağlam bilgileri.

culture
CultureInfo

Dönüştürme sırasında dikkate alınan kültürel bilgiler.

value
Object

PixelFormat öğesini seçin.

destinationType
Type

Dönüştürme için değerlendirilen tür.

Döndürülenler

Object

öğesinin yeni bir destinationTypeörneği.

Öznitelikler

Özel durumlar

value veya null geçerli bir tür değil.

Şunlara uygulanır