Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

UnmanagedFunctionPointerAttribute Members

Controls the marshaling behavior of a delegate signature passed as an unmanaged function pointer to or from unmanaged code. This class cannot be inherited.

The following tables list the members exposed by the UnmanagedFunctionPointerAttribute type.

  Name Description
Public method UnmanagedFunctionPointerAttribute Initializes a new instance of the UnmanagedFunctionPointerAttribute class with the specified calling convention.
Top

  Name Description
Public field BestFitMapping Enables or disables best-fit mapping behavior when converting Unicode characters to ANSI characters.
Public field CharSet Indicates how to marshal string parameters to the method, and controls name mangling.
Public field SetLastError Indicates whether the callee calls the SetLastError Win32 API function before returning from the attributed method.
Public field ThrowOnUnmappableChar Enables or disables the throwing of an exception on an unmappable Unicode character that is converted to an ANSI "?" character.
Top

  Name Description
Public property CallingConvention Gets the value of the calling convention.
Public property TypeId  When implemented in a derived class, gets a unique identifier for this Attribute.(Inherited from Attribute.)
Top

  Name Description
Public method Equals  Overloaded. (Inherited from Attribute.)
Public method Static GetCustomAttribute  Overloaded. Retrieves a custom attribute of a specified type applied to an assembly, module, type member, or method parameter. (Inherited from Attribute.)
Public method Static GetCustomAttributes  Overloaded. Retrieves an array of the custom attributes applied to an assembly, module, type member, or method parameter. (Inherited from Attribute.)
Public method GetHashCode  Returns the hash code for this instance. (Inherited from Attribute.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method IsDefaultAttribute  When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.)
Public method Static IsDefined  Overloaded. Determines whether any custom attributes of a specified type are applied to an assembly, module, type member, or method parameter. (Inherited from Attribute.)
Public method Match  When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2015 Microsoft