[]
        
(Showing Draft Content)

C1.Win.FlexReport.CustomFields.Maps.Util.GetIndex

GetIndex Method

GetIndex(object, out int)

Converts an object to an integer or a string that can be used as an index in a collection.

Declaration
public static string GetIndex(object value, out int integer)
Parameters
Type Name Description
object value

The object to convert.

int integer

OUT: the integer index if value could be converted to an integer, -1 otherwise.

Returns
Type Description
string

The string index (use only if integer is -1).