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
)

Parameters

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
Show: