Function getProperties