/// <summary> /// Gets all keys from a dictionary. /// </summary> /// <param name="id">The object ID.</param> /// <param name="dictionary">The dictionary name.</param> /// <returns>The keys.</returns> public static IEnumerable <string> GetEntryNames(ObjectId id, string dictionary) { return(CustomDictionary.GetEntryNames(CustomObjectDictionary.GetDictionaryId(id, dictionary))); }
/// <summary> /// Gets all keys from a dictionary. /// </summary> /// <param name="dictionary">The dictionary name.</param> /// <returns>The keys.</returns> public static IEnumerable <string> GetEntryNames(string dictionary) { return(CustomDictionary.GetEntryNames(CustomDictionary.GetDictionaryId(dictionary))); }