[]
Bitwise shift to the right.
public static Variant operator >>(Variant a, int shift)
| Type | Name | Description |
|---|---|---|
| Variant | a | The variant to be shifted. |
| int | shift | The shift value. |
| Type | Description |
|---|---|
| Variant | The result of bitwise shifting. |
| Type | Condition |
|---|---|
| InvalidVariantOperationException | Thrown if the Variant is of a non-numeric, non-boolean type that does not support bitwise operations, such as TimeSpan, Date, or Object. |