IShiftOperators<TSelf,TOther,TResult> 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
定义一个值按另一个值移动的机制。
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
包含由 TResult
移动TSelf
的结果的类型。
- 派生
运算符
LeftShift(TSelf, TOther) |
将值左移给定量。 |
RightShift(TSelf, TOther) |
将值右移一个给定的量。 |
UnsignedRightShift(TSelf, TOther) |
将值右移一个给定的量。 |
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈