Is File Hidden


Node Information
Checks the specified file, if it is hidden TRUE will be returned, else FALSE will be returned.
General Information
• This node doesn't have other available options.
Visual
Visual

Ports
Text Type DataType Accepts IsList CustomAcception
File IN String ONE FALSE FALSE
Result OUT Boolean MULTIPLE FALSE FALSE

Source
namespace Korduene.KGraph.Nodes.IO.FileInfo
{
    [IsNode("Is Hidden")]
    public class IsHidden : Node
    {
        Port path = new Port(PortType.IN, typeof(string), AcceptsLinks.ONE, "File");
        Port reslt = new Port(PortType.OUT, typeof(bool), AcceptsLinks.MULTIPLE, "Result");
        public IsHidden()
        {
            this.Name = "Is File Hidden";
            this.NodeType = KGraph.NodeType.Function;
            this.ReturnType = typeof(bool);
            AddPort(path);
            AddPort(reslt);
            Information = "Checks the specified file, if it is hidden TRUE will be returned, else FALSE will be returned.";
        }
        public override string Code()
        {
            return "return KIO.KFileInfo.IsFileHidden(" + GetValue(path) + ");";
        }
    }
}