DevForce Help Reference
GetDelegate<T> Method


Delegate type
Assembly-qualified type name
Name of static method
Optional method signature
Returns a delegate of the indicated type.
Syntax
'Declaration
 
Public Shared Function GetDelegate(Of T)( _
   ByVal pTypeName As String, _
   ByVal pMethodName As String, _
   ByVal pSignature() As Type _
) As T
'Usage
 
Dim pTypeName As String
Dim pMethodName As String
Dim pSignature() As Type
Dim value As T
 
value = ReflectionFns.GetDelegate(Of T)(pTypeName, pMethodName, pSignature)
public static T GetDelegate<T>( 
   string pTypeName,
   string pMethodName,
   Type[] pSignature
)

Parameters

pTypeName
Assembly-qualified type name
pMethodName
Name of static method
pSignature
Optional method signature

Type Parameters

T
Delegate type
Remarks
pSignature is required only if the pMethodName is overloaded.
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

ReflectionFns Class
ReflectionFns Members

Send Feedback