MSIR.0783 Already have (setorget) method for property

From m204wiki
Revision as of 15:01, 9 November 2010 by 198.242.244.47 (talk) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.