共用方式為


PropertyValue.CreateUInt16(UInt16) 方法

定義

從不帶正負號的整數建立屬性值。

public:
 static Platform::Object ^ CreateUInt16(unsigned short value);
 static IInspectable CreateUInt16(uint16_t const& value);
public static object CreateUInt16(ushort value);
function createUInt16(value)
Public Shared Function CreateUInt16 (value As UShort) As Object

參數

value
UInt16

unsigned short

uint16_t

要儲存在 屬性值中的值。

傳回

Object

Platform::Object

IInspectable

屬性值。

適用於