ListBindingHelper.GetListItemType Method (Object)


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

Returns the data type of the items in the specified list.

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

public static Type GetListItemType(
	object list


Type: System.Object

The list to be examined for type information.

Return Value

Type: System.Type

The Type of the items contained in the list.

If the list parameter is not a list or array, the type returned will be that of the list parameter itself.

.NET Framework
Available since 2.0
Return to top