'System.Runtime.InteropServices.DllImportAttribute' cannot be applied to a 'Get' or 'Set'
The DllImportAttribute attribute was applied to a Get or Set property procedure.
Error ID: BC31524
To correct this error
- Remove DllImportAttribute from Get and Set property procedures.