Int32CollectionConverter.ConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Attempts to convert a specified object to an Int32Collection instance.

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

Public Overrides Function ConvertFrom (
	context As ITypeDescriptorContext,
	culture As CultureInfo,
	value As Object
) As Object

Parameters

context
Type: System.ComponentModel.ITypeDescriptorContext

Context information used for conversion.

culture
Type: System.Globalization.CultureInfo

Cultural information that is respected during conversion.

value
Type: System.Object

The object being converted.

Return Value

Type: System.Object

A new instance of Int32Collection.

Exception Condition
NotSupportedException

value is null or the type invalid.

.NET Framework
Available since 3.0
Return to top
Show: