共用方式為


CBPeripheral.GetMaximumWriteValueLength(CBCharacteristicWriteType) 方法

定義

取得寫入指定 值 type 之資料的最大寫入長度。

[Foundation.Export("maximumWriteValueLengthForType:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual nuint GetMaximumWriteValueLength (CoreBluetooth.CBCharacteristicWriteType type);
abstract member GetMaximumWriteValueLength : CoreBluetooth.CBCharacteristicWriteType -> nuint
override this.GetMaximumWriteValueLength : CoreBluetooth.CBCharacteristicWriteType -> nuint

參數

傳回

System.System.UIntPtr System.unativeint
屬性

適用於