C# out parameter value passing..

Posted by Pandiya Chendur on Stack Overflow See other posts from Stack Overflow or by Pandiya Chendur
Published on 2010-06-09T07:54:39Z Indexed on 2010/06/09 8:02 UTC
Read the original article Hit count: 396

Filed under:
|
|
|
|

I am using contactsreader.dll to import my gmail contacts... One of my method has out parameter... I am doing this,

Gmail gm = new Gmail();
DataTable dt = new DataTable();
string strerr;
gm.GetContacts("[email protected]", "******", true, dt,strerr);
// It gives invalid arguments error..

and my gmail class has,

public void GetContacts(string strUserName, string strPassword,out bool boolIsOK,
out DataTable dtContatct, out string strError);

Am i passing the correct values for out parameters...

© Stack Overflow or respective owner

Related posts about c#

Related posts about value