MSIR.0736 Assignment to (type) must be from (type)

From m204wiki
Revision as of 15:01, 9 November 2010 by 198.242.244.47 (talk) (Created page with "The source of an assignment to an object variable was not an object or the source of an assignment to a structure variable was not a structure. Not only is this not allowed, it r...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The source of an assignment to an object variable was not an object or the source of an assignment to a structure variable was not a structure. Not only is this not allowed, it really doesn't make any sense so, presumably, this is a logic error in the program that should be corrected. If the source of the assignment is the result of a method, it is likely that there is a misunderstanding of the method result type, or, perhaps, the wrong method is being used. In such a case, check the documentation for the class to determine the method output type, and the appropriate method to use.