powcpropsys.propvariant module#

プロパティの値。

class powcpropsys.propvariant.PropVariant#

ベースクラス: Union

プロパティシステムのプロパティ値。PROPVARIANT構造体のラッパーです。

change_type(vt: VARENUM) PropVariant#
change_type_nothrow(vt: VARENUM) ComResult[PropVariant]#
clear() None#
clone() PropVariant#
data#

Structure/Union member

property data_memview: memoryview#
property elemcount#
get_bool() bool#
get_bstr() str#
get_double()#
get_elem(index: int) PropVariant#
get_filetime() datetime#
get_float()#
get_int()#
get_int16()#
get_int32()#
get_int64()#
get_int8()#
get_intptr()#
get_uint()#
get_uint16()#
get_uint32()#
get_uint64()#
get_uint8()#
get_uintptr()#
get_wstr()#
static init_bool(x: bool)#
static init_clsid(x: GUID)#
static init_double(x: float)#
static init_filetime(x: datetime)#
static init_float(x: float)#
static init_int(x: int)#
static init_int16(x: int)#
static init_int32(x: int)#
static init_int64(x: int)#
static init_int8(x: int)#
static init_intptr(x: int)#
static init_uint(x: int)#
static init_uint16(x: int)#
static init_uint32(x: int)#
static init_uint64(x: int)#
static init_uint8(x: int)#
static init_uintptr(x: int)#
static init_wstr(x: str)#
property is_array: bool#
property is_empty: bool#
property is_null: bool#
property is_vector: bool#
to_str() str#
to_str_nothrow() ComResult[str]#
to_strings() tuple[str, ...]#
property vartype: VARENUM#
property vartype_elem: VARENUM#
vt#

Structure/Union member