Determines whether a type is a generic collection type.

Namespace:  Mindscape.WpfPropertyGrid
Assembly:  Mindscape.WpfPropertyGrid (in Mindscape.WpfPropertyGrid)
Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static bool IsGenericCollection(
	Type propertyType
)
Visual Basic (Declaration)
Public Shared Function IsGenericCollection ( _
	propertyType As Type _
) As Boolean

Parameters

propertyType
Type: System..::.Type
The type to test.

Return Value

true if the type is a (closed constructed) generic collection type; otherwise false.

See Also