LabWindows/CVI

CDotNetGetGenericTypeParameter

int CDotNetGetGenericTypeParameter (CDotNetHandle object, const char *typeName, size_t index, char **parameter);

Purpose

Gets the generic type parameter of the specified .NET object.

Parameters

Input
Name Type Description
object CDotNetHandle The handle of a .NET object.
typeName const char * The generic type name of the .NET object.
index size_t The zero-based index of the generic type parameter.
Output
Name Type Description
parameter char * The full type name of the generic parameter. Pass the address of a char * variable for this parameter. You must use CDotNetFreeMemory to free the output string.

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.1 and later