public static long GetInt64([NotNull] this Directory directory, int tagType) { if (directory.TryGetInt64(tagType, out long value)) { return(value); } return(ThrowValueNotPossible <long>(directory, tagType)); }