SetValue() private method

private SetValue ( bool f ) : void
f bool
return void
Esempio n. 1
0
        public void SetPropertyValue(PropertyStoreProperty property, uint value)
        {
            if (_propertyStore != null)
            {
                using (var propertyValue = new NativeMethods.PROPVARIANT())
                {
                    propertyValue.SetValue(value);

                    _propertyStore.SetValue(NativeMethods.GetPkey(property), propertyValue);
                }
            }
        }
Esempio n. 2
0
        public void SetPropertyValue(PropertyStoreProperty property, uint value)
        {
            if (_propertyStore != null)
            {
                using (var propertyValue = new NativeMethods.PROPVARIANT())
                {
                    propertyValue.SetValue(value);

                    _propertyStore.SetValue(NativeMethods.GetPkey(property), propertyValue);
                }
            }
        }