Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Visual Studio
Visual Basic
 Attribute cannot be used because it...

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
Visual Basic Reference: Error Messages
Attribute cannot be used because it does not have a Public constructor

The constructor for the attribute being used is Private, and cannot be used.

Error ID: BC30758

To correct this error

  • If you see this error with a custom attribute that you developed, change its SubNew constructor's access modifier to Public.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker