Aracılığıyla paylaş


RequestCachePolicyConverter.ConvertTo Yöntem

Tanım

Bu nesneyi belirtilen türe dönüştürür.

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

Parametreler

typeDescriptorContext
ITypeDescriptorContext

Biçim bağlamı.

cultureInfo
CultureInfo

Dönüştürme için kullanılacak kültür.

value
Object

Dönüştürülecek ilke.

destinationType
Type

Dönüştürülecek tür.

Döndürülenler

Object

Dönüştürmeden yapılan nesne.

Öznitelikler

Özel durumlar

destinationType, null değeridir.

Açıklamalar

ConvertTo.NET Framework sürüm 3.5'te kullanıma sunulmuştur. Daha fazla bilgi için bkz . Sürümler ve Bağımlılıklar.

Şunlara uygulanır