DevForce Help Reference
GetGenericArgument Method


Gets a single generic argument from a specified type.
Syntax
'Declaration
 
Public Shared Function GetGenericArgument( _
   ByVal type As Type _
) As Type
'Usage
 
Dim type As Type
Dim value As Type
 
value = TypeFns.GetGenericArgument(type)
public static Type GetGenericArgument( 
   Type type
)

Parameters

type

Return Value

null if it can't find one or result is ambiguous
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TypeFns Class
TypeFns Members

Send Feedback