OpenHome.Net.ControlPoint.Proxies.CpProxyOpenhomeOrgTestBasic1.PropertyVarInt C# (CSharp) Method

PropertyVarInt() public method

Query the value of the VarInt property.
This function is threadsafe and can only be called if Subscribe() has been called and a first eventing callback received more recently than any call to Unsubscribe().
public PropertyVarInt ( ) : int
return int
        public int PropertyVarInt()
        {
            PropertyReadLock();
            int val;
            try
            {
                val = iVarInt.Value();
            }
            finally
            {
                PropertyReadUnlock();
            }
            return val;
        }