BaseEnumStringConverter<T>.ConvertTo Yöntem (ITypeDescriptorContext, CultureInfo, Object, Type)
Belirtilen değer nesnesi, belirtilen içerik ve kültür bilgileri kullanarak belirtilen türe dönüştürür.
Ad alanı: Microsoft.VisualStudio.TestTools.WebTesting
Derleme: Microsoft.VisualStudio.QualityTools.WebTestFramework (Microsoft.VisualStudio.QualityTools.WebTestFramework.dll içinde)
Sözdizimi
'Bildirim
Public Overrides Function ConvertTo ( _
context As ITypeDescriptorContext, _
culture As CultureInfo, _
value As Object, _
destinationType As Type _
) As Object
public override Object ConvertTo(
ITypeDescriptorContext context,
CultureInfo culture,
Object value,
Type destinationType
)
public:
virtual Object^ ConvertTo(
ITypeDescriptorContext^ context,
CultureInfo^ culture,
Object^ value,
Type^ destinationType
) override
abstract ConvertTo :
context:ITypeDescriptorContext *
culture:CultureInfo *
value:Object *
destinationType:Type -> Object
override ConvertTo :
context:ITypeDescriptorContext *
culture:CultureInfo *
value:Object *
destinationType:Type -> Object
public override function ConvertTo(
context : ITypeDescriptorContext,
culture : CultureInfo,
value : Object,
destinationType : Type
) : Object
Parametreler
context
Tür: ITypeDescriptorContextBir ITypeDescriptorContext , biçim içerik sağlar.
culture
Tür: CultureInfoGeçerli kültür kullanmak üzere T:System.Globalization.CultureInfo.
value
Tür: ObjectObject Dönüştürmek için.
destinationType
Tür: TypeType Dönüştürülecek value parametresi.
Dönüş Değeri
Tür: Object
Bir Object , dönüştürülmüş değerini temsil eder.
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. Kısmen Güvenilen Koddan Kitaplıkları Kullanma.