[Python.NET] instance property must be accessed through a class instance

Charley Peng cpeng92 at gmail.com
Tue Sep 24 03:14:46 CEST 2013


Hi,

Have come across the error after trying to get the property of the device
device.DeviceList,
TypeError: instance property must be accessed through a class instance
The .NET class has the definition
public List<Device> DeviceList
(which just returns a
I have also tried the method get_DeviceList
However I get the error TypeError: not enough arguments

I have tried device.get_DeviceList(device) however I get TypeError: No
method matches given arguments

Does anyone know what the issue is?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythondotnet/attachments/20130924/90f23085/attachment.html>


More information about the PythonDotNet mailing list