To be fair to the OP, there could be several other reason that he doesn't want his family to know he is gay. None of the other possible reasons include an inheritance.
For example, his reasons could be job related, if he works for a very conservative family owned company.