public static void GetDeviceInfoForImaging(
string iP,
string benutzername,
string passwort,
out string[*] deviceInfo)
我有一个公开此功能的参考。我对如何通过
感到困惑out string[ * ] deviceInfo
到该函数是因为无法创建类型字符串[*]的变量,是吗?
该函数来自LabView .NET Interop Assembly
尝试一下:
Array deviceInfo = (Array)(object)Document.GetCrossReferenceItems(WdReferenceType.wdRefTypeHeading);
public static void GetDeviceInfoForImaging(
string iP,
string benutzername,
string passwort,
out string[*] deviceInfo)
,然后尝试提取值:
string firstElement = deviceInfo.GetValue(1);