TextDecorationCollectionConverter::ConvertTo Method (ITypeDescriptorContext^, CultureInfo^, Object^, Type^)

 

Attempts to convert an instance of TextDecorationCollection to a specified type.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

public:
[SecurityCriticalAttribute]
virtual Object^ ConvertTo(
	ITypeDescriptorContext^ context,
	CultureInfo^ culture,
	Object^ value,
	Type^ destinationType
) override

Parameters

context
Type: System.ComponentModel::ITypeDescriptorContext^

Describes the context information of a type.

culture
Type: System.Globalization::CultureInfo^

Describes the CultureInfo of the type being converted.

value
Type: System::Object^

The instance of TextDecorationCollection to convert.

destinationType
Type: System::Type^

The type this instance of TextDecorationCollection is converted to.

Return Value

Type: System::Object^

null is always returned because TextDecorationCollection cannot be converted to any other type.

.NET Framework
Available since 3.0
Return to top
Show: