public int Value() { int val; if (ServicePropertyValueInt(iHandle, out val) == -1) throw new PropertyError(); return val; }