Create a polymorphic ECQuery for the class BaseElementSchema:MstnClosedBoundary.
Execute the query using the ElementHandle as the scope.
If it returns an ECInstance, create a field pointing to the EnclosedArea property of that ECInstance.
Execute the query using the ElementHandle as the scope.
If it returns an ECInstance, create a field pointing to the EnclosedArea property of that ECInstance.