Clipboard ContainsData


Node Information
Checks Clipboard to see if it contains specified data.
General Information
• This node doesn't have other available options.
Visual
Visual

Ports
Text Type DataType Accepts IsList CustomAcception
ContainsData OUT Boolean MULTIPLE FALSE FALSE
Format IN String ONE FALSE FALSE

Source
namespace Korduene.KGraph.Nodes.Win32.Clipboard
{
    [IsNode("ContainsData")]
    public class ContainsData : Node
    {
        Port run = new Port(PortType.OUT, typeof(bool), AcceptsLinks.MULTIPLE, "ContainsData");
        Port format = new Port(PortType.IN, typeof(string), AcceptsLinks.ONE, "Format");
        public ContainsData()
        {
            Name = "Clipboard ContainsData";
            AddPort(run);
            AddPort(format);
            Information = "Checks Clipboard to see if it contains specified data.";
        }
        public override void UpdateResults()
        {
            run.Instructions = "Clipboard.ContainsData(" + GetValue(format) + ")";
        }
    }
}