Export (0) Print
Expand All

FUNCKIND Enumeration

Defines how to access a function.

Namespace:  System.Runtime.InteropServices.ComTypes
Assemblies:   System.Runtime.InteropServices (in System.Runtime.InteropServices.dll)
  mscorlib (in mscorlib.dll)

public enum FUNCKIND

Member nameDescription
Supported by Portable Class LibraryFUNC_DISPATCHThe function can be accessed only through IDispatch.
Supported by Portable Class LibraryFUNC_NONVIRTUALThe function is accessed by static address and takes an implicit this pointer.
Supported by Portable Class LibraryFUNC_PUREVIRTUALThe function is accessed through the virtual function table (VTBL), and takes an implicit this pointer.
Supported by Portable Class LibraryFUNC_STATICThe function is accessed by static address and does not take an implicit this pointer.
Supported by Portable Class LibraryFUNC_VIRTUALThe function is accessed in the same way as FUNC_PUREVIRTUAL, except the function has an implementation.

For additional information about FUNCKIND, see the MSDN Library.

The common language runtime throws an exception when a COM method in native code returns an HRESULT. For more information, see How to: Map HRESULTs and Exceptions.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1
Show:
© 2015 Microsoft