GattPresentationFormat.FromParts(Byte, Int32, UInt16, Byte, UInt16) Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Создает объект GattPresentationFormat из частей.
public:
static GattPresentationFormat ^ FromParts(byte formatType, int exponent, unsigned short unit, byte namespaceId, unsigned short description);
static GattPresentationFormat FromParts(byte const& formatType, int const& exponent, uint16_t const& unit, byte const& namespaceId, uint16_t const& description);
public static GattPresentationFormat FromParts(byte formatType, int exponent, ushort unit, byte namespaceId, ushort description);
function fromParts(formatType, exponent, unit, namespaceId, description)
Public Shared Function FromParts (formatType As Byte, exponent As Integer, unit As UShort, namespaceId As Byte, description As UShort) As GattPresentationFormat
Параметры
- formatType
-
Byte
byte
Тип формата.
- exponent
-
Int32
int
Экспонента.
- unit
-
UInt16
unsigned short
uint16_t
Модуль.
- namespaceId
-
Byte
byte
Идентификатор пространства имен.
- description
-
UInt16
unsigned short
uint16_t
Описание.
Возвращаемое значение
Экземпляр GattPresentationFormat.
Требования к Windows
Семейство устройств |
Windows 10 Creators Update (появилось в 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (появилось в v4.0)
|
Возможности приложения |
bluetooth
|