PC Review Forums Newsgroups Microsoft DotNet Microsoft ADO .NET error in the documentation?¿

Reply

error in the documentation?¿

 
Thread Tools Rate Thread
Old 29-06-2003, 03:55 AM   #1
Samuel
Guest
 
Posts: n/a
Default error in the documentation?¿


ms-help://MS.VSCC.2003/MS.MSDNQTR.2003APR.1033/cpref/html/frlrfsystemdatadat
aviewclassfindtopic1.htm

DataView.Find Method (Object) [c#]

etc.

public int Find(
object key
);

etc.

Return Value

The index of the row in the DataView containing the sort key value
specified; otherwise a null value if the sort key value does not exist.

And now I ask: how can an int method (value type) return a null (reference
type)?
I think it will return -1.

Am I wrong?

Regards. Samuel.


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off