GetElementType

GetElementType(IList, IValueGetter)

public static Type GetElementType(IList instance, IValueGetter container) ;

Description

Get the type of an element that is common to IList and IValueGetter.

Parameters

Parameter Name Description
instance IList instance
container IValueGetter to get a value.

Returns

Returns the type of the common element. If it is not common, null is returned.

GetElementType(IList, IValueSetter)

public static Type GetElementType(IList instance, IValueSetter container) ;

Description

Get the type of an element that is common to IList and IValueSetter.

Parameters

Parameter Name Description
instance IList instance
container IValueStter to set a value.

Returns

Returns the type of the common element. If it is not common, null is returned.