Impossibile applicare 'System.Runtime.InteropServices.DllImportAttribute' a 'Get' o 'Set'

Aggiornamento: novembre 2007

'System.Runtime.InteropServices.DllImportAttribute' cannot be applied to a 'Get' or 'Set'

L'attributo DllImportAttribute è stato applicato a una routine della proprietà Get o Set.

ID errore: BC31524

Per correggere l'errore

  • Rimuovere DllImportAttribute dalle routine delle proprietà Get e Set.

Vedere anche

Concetti

Routine Property

Riferimenti

DllImportAttribute