Find Specific Element in TArray

I want to find element with specific property .

At c#

MyClass result = list.Find(x => x.Id == “xy”);

I need c++ version of this.