LabWindows/CVI

CDotNetGetEnumValue

int CDotNetGetEnumValue (CDotNetHandle handle, void *value);

Purpose

Returns the value of a .NET enum.

Parameters

Input
Name Type Description
handle CDotNetHandle The handle of the .NET enum object.
Output
Name Type Description
value void * The value of the .NET enum.

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