You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you create a .NET base class that has an indexer, and then create a .NET derived class, that derived class used in Python cannot access the indexer. You can access existing properties though just fine.
importclrclr.AddReference("PythonTest")
importPythonTesta=PythonTest.IndexerBase()
b=PythonTest.Indexer()
print("count of items from base class: %i"%a.Count)
print("count of items from derived class: %i"%b.Count)
print("printing base class value: %s"%a[1])
print("printing derived class value: %s"%b[1]) #ERROR HERE