共用方式為


ProviderI2cConnectionSettings.SharingMode 屬性

定義

取得或設定共用模式,以用來連線到整合式線路 (I2 C) 匯流排位址。 此模式會決定當您連接到 I2 C 匯流排位址時,是否可以開啟與 I2 C 匯流排位址的其他連線。

public:
 property ProviderI2cSharingMode SharingMode { ProviderI2cSharingMode get(); void set(ProviderI2cSharingMode value); };
ProviderI2cSharingMode SharingMode();

void SharingMode(ProviderI2cSharingMode value);
public ProviderI2cSharingMode SharingMode { get; set; }
var providerI2cSharingMode = providerI2cConnectionSettings.sharingMode;
providerI2cConnectionSettings.sharingMode = providerI2cSharingMode;
Public Property SharingMode As ProviderI2cSharingMode

屬性值

用來連線到 I2 C 匯流排位址的共用模式。

適用於