一款简单易用的基础网络通讯组件库。

BitAccessorTSet 方法

将指定索引处的位设置为给定布尔值。

Definition

命名空间: TouchSocket.Core
程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
C#
public void Set(
	int index,
	bool value
)

参数

index  Int32
位索引(从 0 开始)。
value  Boolean
时置 1;为 时置 0。

异常

ArgumentOutOfRangeException当索引超出范围时抛出。

参见