我使用contactsreader.dll
来导入我的Gmail联系人。我的方法之一是out
参数。我这样做:C#出参数值传递
Gmail gm = new Gmail();
DataTable dt = new DataTable();
string strerr;
gm.GetContacts("[email protected]", "******", true, dt, strerr);
// It gives invalid arguments error..
而且我的Gmail类有
public void GetContacts(string strUserName, string strPassword,out bool boolIsOK,
out DataTable dtContatct, out string strError);
我是否传递正确的价值观为out
参数?
这个问题已经有一个公认的答案,你似乎不具有添加任何东西,没有覆盖它。 – JamesT 2015-02-04 10:43:53
@J Tolley:很对,但是这个答案只针对三个朋友之间的*系列upvoting *而设计的,并不打算有用。他的大部分答案都发布在这样的老问题上。在这里看到一个朋友:http://stackoverflow.com/questions/28085249/change-css-color-property-dynamically-on-click/28085568#28085568 – 2015-02-06 09:46:40