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

PropertyVarBool() public method

Query the value of the VarBool 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 PropertyVarBool ( ) : bool
return bool
        public bool PropertyVarBool()
        {
            PropertyReadLock();
            bool val;
            try
            {
                val = iVarBool.Value();
            }
            finally
            {
                PropertyReadUnlock();
            }
            return val;
        }