implicit operator Operator
implicit operator byte(ExtendedFlags)
Implicitly convert ExtendedFlags to a byte.
C#
public static implicit operator byte(ExtendedFlags flags)
Parameters
Type | Name | Description |
---|---|---|
ExtendedFlags | flags | Flag object to convert. |
Returns
byte
implicit operator ExtendedFlags(byte)
Implicitly convert a byte to a ExtendedFlags object.
C#
public static implicit operator ExtendedFlags(byte b)
Parameters
Type | Name | Description |
---|---|---|
byte | b | A byte containing the flags. |