int *等价于c# [英] int* equivalent in c#
本文介绍了int *等价于c#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的,
我有以下方法,有人知道C#中的int *等效吗?
Dears,
I have the following method does anyone know what is the equivalent of int* in C#?
[DllImport("ZT_BILL.dll")]
public static extern int ZT_BILL_OpenDevice([MarshalAs(UnmanagedType.LPStr)]string pstrCom, int* nHandle, int nFage = 0);
推荐答案
IntPtr [
IntPtr[^] unless you want to use unsafe code.
AFAIK,应该是这样的: ^ ]
AFAIK, it should be this: MSDN: IntPtr[^]
这篇关于int *等价于c#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文