public int FindProperty(string name) { var propNumber = NativeApiProxy.FindProp(_object, name); if (propNumber < 0) { throw RuntimeException.PropNotFoundException(name); } return(propNumber); }