Method Function NamespaceTerminal.Gui AssemblyTerminal.Gui.dll Function(Func<int>) Creates a "DimFunc" from the specified function. public static Dim Function(Func<int> function) Parameters function Func<int> The function to be executed. Returns Dim The Dim returned from the function.