CBPeripheral.GetMaximumWriteValueLength(CBCharacteristicWriteType) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取写入指定 的值 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
- 属性