| DelegateUtilsCreateDelegate Method |
Creates a delegate of the specified type that represents the
specified instance method to invoke on the passed target object.
Namespace: Slash.Reflection.UtilsAssembly: Slash.Reflection (in Slash.Reflection.dll) Version: 1.0.6018.40175
Syntax public static Delegate CreateDelegate(
Type type,
Object target,
string method
)
Public Shared Function CreateDelegate (
type As Type,
target As Object,
method As String
) As Delegate
public:
static Delegate^ CreateDelegate(
Type^ type,
Object^ target,
String^ method
)
static member CreateDelegate :
type : Type *
target : Object *
method : string -> Delegate
Parameters
- type
- Type: SystemType
Type of the delegate to create. - target
- Type: SystemObject
Object to invoke the method on. - method
- Type: SystemString
Instance method to invoke.
Return Value
Type:
Delegate
delegate of the specified type that represents the
specified instance method to invoke on the passed target object.
See Also