DataGridLengthConverter.ConvertTo Methode

Definitie

Converteert een exemplaar van de DataGridLength klasse naar een exemplaar van het opgegeven type.

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

Parameters

context
ITypeDescriptorContext

Een object dat een indelingscontext biedt.

culture
CultureInfo

Het object dat moet worden gebruikt als de huidige cultuur.

value
Object

De DataGridLength te converteren.

destinationType
Type

Het type waar de waarde naar moet worden geconverteerd.

Retouren

De geconverteerde waarde.

Kenmerken

Uitzonderingen

destinationType is null.

value is geen DataGridLength of destinationType geen geldig conversietype.

Van toepassing op