DefinePInvokeMethod() public method

public DefinePInvokeMethod ( string name, string dllName, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type parameterTypes, CallingConvention nativeCallConv, CharSet nativeCharSet ) : MethodBuilder
name string
dllName string
attributes MethodAttributes
callingConvention CallingConventions
returnType System.Type
parameterTypes System.Type
nativeCallConv CallingConvention
nativeCharSet CharSet
return MethodBuilder
Esempio n. 1
0
 public MethodBuilder DefinePInvokeMethod(string name, string dllName, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type[] parameterTypes, CallingConvention nativeCallConv, CharSet nativeCharSet)
 {
     return(moduleType.DefinePInvokeMethod(name, dllName, attributes, callingConvention, returnType, parameterTypes, nativeCallConv, nativeCharSet));
 }