Version

GetExtensionMethods Method

Returns a list of all the extension methods of a particular Type present in the specified assembly
Syntax
'Declaration
 
Public Shared Function GetExtensionMethods( _
   ByVal assembly As System.Reflection.Assembly, _
   ByVal extendedType As System.Type _
) As System.Collections.Generic.IEnumerable(Of MethodInfo)
public static System.Collections.Generic.IEnumerable<MethodInfo> GetExtensionMethods( 
   System.Reflection.Assembly assembly,
   System.Type extendedType
)
public: static System.Collections.Generic.IEnumerable<MethodInfo*>* GetExtensionMethods( 
   System.Reflection.Assembly* assembly,
   System.Type* extendedType
) 

Parameters

assembly
The specified assembly containing the given Type
extendedType
The Type whose extension method is required

Return Value

List of all the extension methods of a particular Type present in the specified assembly
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