Error : Missing ';' in 'variable declaration' but i have it

No, i want this parameter, i need to put in “Data” information abown data table that user add, and get Row names from that.

See, idea was that in Actor BP, in section “Data table” use gave a 2 property, Data table (MyCustomDataTable) and array of row nams (DataValue), so user after selecting a data table can select row name of needt item.

CPP code:

TArray<FName> AItem::DataValue(UDataTable Data)
{
	TArray<FName> DataValuer = MyCustomDataTable->GetRowNames();
	return TArray<FName>();
}