robot_2Generated
code_blocksInput

Description

The GetEntries method of the EnumDescription class retrieves an array of Entry objects that correspond to the specified Int64 value. This method is useful for obtaining detailed information about enumeration entries that match a given value.

Usage

To use the GetEntries method, you need to have an instance of the EnumDescription class. Call the method with a long value as the parameter to get the corresponding entries.

Example usage:

EnumDescription enumDescription = new EnumDescription();
long value = 12345;
Entry[] entries = enumDescription.GetEntries(value);

In this example, entries will contain all the Entry objects that match the specified value.

Example

EnumDescription enumDescription = new EnumDescription();
long value = 12345;
Entry[] entries = enumDescription.GetEntries(value);

foreach (var entry in entries)
{
    // Process each entry
    Console.WriteLine($"Name: {entry.Name}, Value: {entry.Value}");
}