How to use the function "AddNativeEnumFilter"

hi everyone, in C++, I have a question about behavior trees. i used the FBlackboardKeySelector’s class pickup the blackboard asset, i want to use the filter, but the AddNativeEnumFilter is not work, Who knows why?