Attribute.GetEnumIDForValue Method
Given an enum value, get the id
This language is not supported or no code example is available.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
attrib_id
-
EntityID
the attribute id this enum applies to
-
enum_val
-
string
the enum value we're looking for
-
db
-
IDatabase
the db connection to use
Return Value
EntityID
the retrieved id - may be null if not found
.NET Framework
Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1