Export (0) Print
Expand All
Expand Minimize

'<keyword>' accessor of '<propertyname>' is obsolete: '<errormessage>' (Visual Basic Error) 

A statement attempts to read or write a property for which the corresponding procedure has been marked with the ObsoleteAttribute attribute and the directive to treat it as an error.

You can mark any programming element as being no longer in use by applying ObsoleteAttribute to it. If you do this, you can set the attribute's IsError property to either True or False. If you set it to True, the compiler treats an attempt to use the element as an error. If you set it to False, or let it default to False, the compiler issues a warning if there is an attempt to use the element.

Error ID: BC30911

To correct this error

  1. Examine the quoted error message and take appropriate action.

  2. Ensure that the source-code reference is spelling the property name correctly.

  3. Avoid accessing the property in the way (reading or writing) that generated this message.

See Also

Community Additions

© 2015 Microsoft