IdeaBlade DevForce 2010 Help Reference
GetGenericArgument Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > TypeFns Class : GetGenericArgument Method



type
Gets a single generic argument from a specified type.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetGenericArgument( _
   ByVal type As Type _
) As Type
Visual Basic (Usage)Copy Code
Dim type As Type
Dim value As Type
 
value = TypeFns.GetGenericArgument(type)
C# 
public static Type GetGenericArgument( 
   Type type
)
C++/CLI 
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.