MSIR.0783 Already have (setorget) method for property: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "This is a compilation error for a class or structure definition. Property definitions require a single Get method, a single Set method, or one of each of these types depending on...")
 
m (1 revision)
(No difference)

Revision as of 16:45, 9 November 2010

This is a compilation error for a class or structure definition. Property definitions require a single Get method, a single Set method, or one of each of these types depending on whether the property is ReadOnly, WriteOnly, or ReadWrite, respectively. A likely cause of this error is mistakenly typing Set when get is meant, or vice versa.