GattPresentationFormat.FromParts(Byte, Int32, UInt16, Byte, UInt16) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Crea un oggetto GattPresentationFormat dalle parti.
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
Parametri
- formatType
-
Byte
byte
Tipo di formato.
- exponent
-
Int32
int
L'esponente.
- unit
-
UInt16
unsigned short
uint16_t
Unità.
- namespaceId
-
Byte
byte
ID dello spazio dei nomi.
- description
-
UInt16
unsigned short
uint16_t
Descrizione.
Restituisce
Istanza di GattPresentationFormat.
Requisiti Windows
Famiglia di dispositivi |
Windows 10 Creators Update (è stato introdotto in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (è stato introdotto in v4.0)
|
Funzionalità dell'app |
bluetooth
|