
Machine Vision Camera SDK (DotNet) Developer Guide
End Sub
End Module
4.2.3 MvCamCtrl.NET::MyCamera::MV_CC_GetEnumValue_NET
Get the value of camera Enum type node.
API Definition
int MV_CC_GetEnumValue_NET(
string
strKey,
ref MyCamera.MVCC_ENUMVALUE
);
pEnumValue
Parameters
strKey
[IN] Node name
pEnumValue
[OUT] Obtained node value, see the structure MVCC_ENUMVALUE for details.
Return Value
Return MyCamera.MV_OK (0) on success; return Error Code on failure.
Remarks
After the device is connected, call this API to get specified Enum nodes. For value of strKey. The
node values of IEnumeration can be obtained through this API, strKey value corresponds to the
Name column.
Example
C#
using System;
using System.Runtime.InteropServices;
using System.IO;
using MvCamCtrl.NET;
namespace Param
{
class Program
{
static void Main(string[] args)
{
uint nTLayerType = MyCamera.MV_GIGE_DEVICE | MyCamera.MV_USB_DEVICE;
MyCamera.MV_CC_DEVICE_INFO_LIST stDevList = new MyCamera.MV_CC_DEVICE_INFO_LIST();
52






















































































































































































































































































































































































































































































































































































































