/// <summary>
        /// Gets attribute <paramref name="propertyName"/> as Int64 (or returns
        /// null if does not exists).
        /// </summary>
        /// <param name="propertyName">Name of the single property.</param>
        /// <returns>Property value or null.</returns>
        public long?GetAsInt64OrNull(string propertyName)
        {
            TikPropertyItem item = GetOrCreateItem(propertyName);

            if (item.HasValue)
            {
                return(item.GetAsInt64());
            }
            else
            {
                return(null);
            }
        }
        /// <summary>
        /// Gets attribute <paramref name="propertyName"/> as Int64 (or returns
        /// default value if does not exists).
        /// </summary>
        /// <param name="propertyName">Name of the single property.</param>
        /// <returns>Property value or exception.</returns>
        /// <exception cref="InvalidOperationException">If property is not defined.</exception>
        public long GetAsInt64(string propertyName)
        {
            TikPropertyItem item = GetOrCreateItem(propertyName);

            return(item.GetAsInt64());
        }