Property :: typeContext - Get type context
The function returns the type context for the instance selected for the property. When no instance is selected, the type for the currently selected property type is returned.
When a type context class has been defined for the database type definition resource, the function returns a specialized context class instance. Otherwise, an instance of the default TypeContext class will be returned. In case, context is disabled for the database handle, an instance of the default TypeContext class is returned in any case.
For weak-typed collections, the instance type depends on the selected instance. Thus, after changing the selection, the current type context instance has to be provided. Otherwise, the context instance may refer to an invalid instance.
When the property handle defines an independent transient property without object handle reference, the property handle does not provide a context instance and the function will throw an exception.