ctac.MapService.getValueOrMax C# (CSharp) Method