Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.41 KB

bc30912.md

File metadata and controls

28 lines (20 loc) · 1.41 KB
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: '<keyword>' accessor of '<propertyname>' is obsolete (Visual Basic Error)
'<keyword>' accessor of '<propertyname>' is obsolete (Visual Basic Error)
07/20/2015
vbc30912
bc30912
BC30912
f1fa965e-090c-49f3-ab1e-cbb2f9b2a5f0

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

A statement attempts to read or write a property for which the corresponding procedure has been marked with the xref:System.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 xref:System.ObsoleteAttribute to it. If you do this, you can set the attribute's xref:System.ObsoleteAttribute.IsError%2A 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: BC30912

To correct this error

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

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

See also