'Declaration
Public Function FindByValue( _ ByVal value As Long _ ) As EnumerationMember
'Usage
Dim instance As EnumerationDataType Dim value As Long Dim value As EnumerationMember value = instance.FindByValue(value)
public EnumerationMember FindByValue( long value )
public: EnumerationMember^ FindByValue( int64 value )
Parameters
- value
- The enumeration value to be found.
Return Value
Returns an EnumerationMember which has the value given by the value 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).