C++里面的用法:
1 string buf = string.Format("识别出%d个节点",nodeslist.Count); 2 WriteEventLog("#0000FF", true, 0x23, buf);
C#里面的用法:
1 string buf = string.Format("识别出{0}个节点",nodeslist.Count); 2 WriteEventLog("#0000FF", true, 0x23, buf);
时间: 2024-10-14 15:48:22