GetBool() 개인적인 메소드

private GetBool ( ) : bool?
리턴 bool?
예제 #1
0
        public bool?GetPropertyBoolValue(PropertyStoreProperty property)
        {
            if (_propertyStore == null)
            {
                return(null);
            }

            using (var propertyValue = new NativeMethods.PROPVARIANT())
            {
                _propertyStore.GetValue(NativeMethods.GetPkey(property), propertyValue);

                return(propertyValue.GetBool());
            }
        }
예제 #2
0
파일: ShellLink.cs 프로젝트: netide/netide
        public bool? GetPropertyBoolValue(PropertyStoreProperty property)
        {
            if (_propertyStore == null)
                return null;

            using (var propertyValue = new NativeMethods.PROPVARIANT())
            {
                _propertyStore.GetValue(NativeMethods.GetPkey(property), propertyValue);

                return propertyValue.GetBool();
            }
        }