IShiftOperators<TSelf,TOther,TResult> 接口

定义

定义一种机制,用于将值移出另一个值。

generic <typename TSelf, typename TOther, typename TResult>
 where TSelf : IShiftOperators<TSelf, TOther, TResult>public interface class IShiftOperators
public interface IShiftOperators<TSelf,TOther,TResult> where TSelf : IShiftOperators<TSelf,TOther,TResult>
type IShiftOperators<'Self, 'Other, 'Result (requires 'Self :> IShiftOperators<'Self, 'Other, 'Result>)> = interface
Public Interface IShiftOperators(Of TSelf, TOther, TResult)

类型参数

TSelf

实现此接口的类型。

TOther

用于指定应移动的 TSelf 量的类型。

TResult

包含按 . 移动TSelfTResult的结果的类型。

派生

运营商

名称 说明
LeftShift(TSelf, TOther)

将一个值左移一个给定的量。

RightShift(TSelf, TOther)

将值右移一个给定的量。

UnsignedRightShift(TSelf, TOther)

将值右移一个给定的量。

适用于