Udostępnij za pośrednictwem


'Shared' attribute property '<propertyfield>' cannot be the target of an assignment

An attempt was made to assign a value to a ReadOnly or Shared property in an attribute.

Error ID: BC31500

To correct this error

  1. Remove the property assignment statement.

  2. If using properties you developed, remove the ReadOnly or Shared modifiers from the attribute property.

See Also

Reference

Shared (Visual Basic)

Other Resources

Attributes in Visual Basic