| TypeInfoUtilsCreateDelegate Method |
Creates a delegate of the specified type that represents the specified static or instance method, with the
specified
first argument.
Namespace:
Slash.Unity.DataBind.Core.Utils
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public static Delegate CreateDelegate(
Type type,
Object target,
MethodInfo method
)
Public Shared Function CreateDelegate (
type As Type,
target As Object,
method As MethodInfo
) As Delegate
public:
static Delegate^ CreateDelegate(
Type^ type,
Object^ target,
MethodInfo^ method
)
static member CreateDelegate :
type : Type *
target : Object *
method : MethodInfo -> Delegate
Parameters
- type
- Type: SystemType
The Type of delegate to create. - target
- Type: SystemObject
The object to which the delegate is bound, or null to treat method as static. - method
- Type: System.ReflectionMethodInfo
The MethodInfo describing the static or instance method the delegate is to represent.
Return Value
Type:
DelegateA delegate of the specified type that represents the specified static or instance method.
See Also