Export (0) Print
Expand All
Expand Minimize

Attribute member '<membername>' cannot be the target of an assignment because it is not declared 'Public' 

An attempt was made to assign a value to a private member of an attribute.

Error ID: BC31511

To correct this error

  1. Remove the assignment.

  2. If using custom attributes that you developed, change the attribute member's access modifier to Public.

See Also

Community Additions

ADD
Show:
© 2014 Microsoft