LabWindows/CVI

Table of Contents
  • LabWindows/CVI Fundamentals
  • Creating Applications
  • Distributing Applications
  • Library Reference
  • Programmer Reference
  • Hardware Information

CDotNetGetEnumType

int CDotNetGetEnumType (CDotNetHandle handle, unsigned int *typeId);

Purpose

Returns the ID of the underlying type of a .NET enum.

Parameters

Input
Name Type Description
handle CDotNetHandle The handle of the .NET enum object.
Output
Name Type Description
typeId unsigned int The ID of the underlying type of the .NET enum object. This function can return the following values:

  • CDOTNET_BYTE
  • CDOTNET_SBYTE
  • CDOTNET_INT16
  • CDOTNET_INT32
  • CDOTNET_INT64
  • CDOTNET_UINT16
  • CDOTNET_UINT32
  • CDOTNET_UINT64

Return Value

Name Type Description
status int A value indicating whether an error occurred. Negative error codes indicate function failure.

Error codes are defined in cvi\include\cvidotnet.h.

You can use CDotNetGetErrorDescription to get the description of an error code.

Additional Information

Library: .NET Library

Include file: cvidotnet.h

LabWindows/CVI compatibility: LabWindows/CVI 8.0 and later

Log in to get a better experience