BuildingCoder.CmdCollectorPerformance.GetFirstElementOfType C# (CSharp) Method