Finds an enumeration member by its value.
Syntax
Parameters
- value
- The enumeration value to be found.
Valid values of this parameter are in the range from -9223372036854775808 (Int64.MinValue)
to 9223372036854775807 (Int64.MaxValue)
.
Return Value
Returns an
OpcLabs.BaseLib.DataTypeModel.EnumerationMember which has the value given by the parameter. When there is no such enumeration member, the function returns a
null
reference. When there is more than one match, the first matching enumeration member found is returned.
This method can return null
(Nothing
in Visual Basic).
Requirements
Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows
See Also