GetListItemType Method (Object)
Collapse the table of content
Expand the table of content

ListBindingHelper.GetListItemType Method (Object)


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
© 2015 Microsoft