UnmanagedFunctionPointerAttribute Class
.NET Framework 3.0
Controls the marshaling behavior of a delegate signature passed as an unmanaged function pointer to or from unmanaged code. This class cannot be inherited.
Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly: mscorlib (in mscorlib.dll)
'Declaration <AttributeUsageAttribute(AttributeTargets.Delegate, AllowMultiple:=False, Inherited:=False)> _ <ComVisibleAttribute(True)> _ Public NotInheritable Class UnmanagedFunctionPointerAttribute Inherits Attribute 'Usage Dim instance As UnmanagedFunctionPointerAttribute
/** @attribute AttributeUsageAttribute(AttributeTargets.Delegate, AllowMultiple=false, Inherited=false) */ /** @attribute ComVisibleAttribute(true) */ public final class UnmanagedFunctionPointerAttribute extends Attribute
AttributeUsageAttribute(AttributeTargets.Delegate, AllowMultiple=false, Inherited=false) ComVisibleAttribute(true) public final class UnmanagedFunctionPointerAttribute extends Attribute
Not applicable.
The fields of the UnmanagedFunctionPointerAttribute attribute control various aspects of the transition of a delegate to an unmanaged function pointer, and are the same as the fields with identical names in the DllImportAttribute attribute. These fields are optional, but if you do not specify a field name, UnmanagedFunctionPointerAttribute is ignored.
For more information about using attributes, see Extending Metadata Using Attributes.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: