Click here to Skip to main content
15,889,843 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to execute an application from C# Pin
Stephane Rodriguez.16-Jul-03 19:15
Stephane Rodriguez.16-Jul-03 19:15 
GeneralRe: How to execute an application from C# Pin
David Stone17-Jul-03 5:41
sitebuilderDavid Stone17-Jul-03 5:41 
GeneralInvalidOperationException Pin
Kant15-Jul-03 9:09
Kant15-Jul-03 9:09 
GeneralRe: InvalidOperationException Pin
Kant15-Jul-03 9:34
Kant15-Jul-03 9:34 
GeneralRe: InvalidOperationException Pin
Nick Parker15-Jul-03 9:45
protectorNick Parker15-Jul-03 9:45 
GeneralRe: InvalidOperationException Pin
Kant15-Jul-03 10:12
Kant15-Jul-03 10:12 
GeneralRe: InvalidOperationException Pin
Kant15-Jul-03 12:06
Kant15-Jul-03 12:06 
GeneralRe: InvalidOperationException Pin
Nick Parker15-Jul-03 17:12
protectorNick Parker15-Jul-03 17:12 
GeneralGDI+ Pin
Mazdak15-Jul-03 8:39
Mazdak15-Jul-03 8:39 
GeneralRe: GDI+ Pin
Nick Parker15-Jul-03 17:20
protectorNick Parker15-Jul-03 17:20 
GeneralWebBrowser control bug- application wont die Pin
Bog15-Jul-03 8:25
Bog15-Jul-03 8:25 
Generalnevermind Pin
Bog15-Jul-03 15:24
Bog15-Jul-03 15:24 
QuestionHow to set row header labels in a Datagrid? Pin
work_to_live15-Jul-03 7:41
work_to_live15-Jul-03 7:41 
AnswerRe: How to set row header labels in a Datagrid? Pin
Frank Olorin Rizzi15-Jul-03 7:53
Frank Olorin Rizzi15-Jul-03 7:53 
GeneralRe: How to set row header labels in a Datagrid? Pin
work_to_live15-Jul-03 8:05
work_to_live15-Jul-03 8:05 
GeneralRe: How to set row header labels in a Datagrid? Pin
Frank Olorin Rizzi15-Jul-03 8:16
Frank Olorin Rizzi15-Jul-03 8:16 
GeneralRe: How to set row header labels in a Datagrid? Pin
work_to_live15-Jul-03 8:28
work_to_live15-Jul-03 8:28 
GeneralRe: How to set row header labels in a Datagrid? Pin
Frank Olorin Rizzi15-Jul-03 8:44
Frank Olorin Rizzi15-Jul-03 8:44 
GeneralRe: How to set row header labels in a Datagrid? Pin
work_to_live15-Jul-03 9:05
work_to_live15-Jul-03 9:05 
GeneralRe: How to set row header labels in a Datagrid? Pin
Not Active15-Jul-03 9:20
mentorNot Active15-Jul-03 9:20 
GeneralRe: How to set row header labels in a Datagrid? Pin
work_to_live15-Jul-03 9:33
work_to_live15-Jul-03 9:33 
GeneralFileSystemWatcher Pin
puppiesLover15-Jul-03 5:56
puppiesLover15-Jul-03 5:56 
GeneralReturning a collection class Pin
Andrew Bromfield15-Jul-03 4:26
Andrew Bromfield15-Jul-03 4:26 
GeneralRe: Returning a collection class Pin
Frank Olorin Rizzi15-Jul-03 6:18
Frank Olorin Rizzi15-Jul-03 6:18 
[quote]
The error states that I should be returning the object type that's contained in the custom collection
[/quote]

My $0.02:
Sounds to me like a case of mis-match between the function signature and the function code.
What is your function's signature?

For instance, if it is
public myObject myFunction()
You should return an object of type myObject, but if it is
public myCollection myFunction()
you should be able to return an object of type myCollection, and I don't think anyone
-let alone the compiler- would look at what the myCollection object is holding...

Maybe you could post a snipplet?

HTH,
Frank
GeneralRe: Returning a collection class Pin
Andrew Bromfield15-Jul-03 6:22
Andrew Bromfield15-Jul-03 6:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.