Win32_PnPDevicePropertyDateTime クラス

datetime 型の PnP デバイス プロパティを表します。

次の構文は MOF コードを簡略化したもので、継承されたすべてのプロパティが含まれています。

構文

class Win32_PnPDevicePropertyDateTime : Win32_PnPDeviceProperty
{
  string   Key;
  string   KeyName;
  Uint32   Type;
  string   DeviceID;
  datetime Data;
};

メンバー

Win32_PnPDevicePropertyDateTime クラスには、次の種類のメンバーがあります。

プロパティ

Win32_PnPDevicePropertyDateTime クラスには、これらのプロパティがあります。

データ

データ型: datetime

アクセスの種類: 読み取り専用

プロパティ値。

DeviceID

データ型: string

アクセスの種類: 読み取り専用

PnP デバイスを識別します。

このプロパティは、 Win32_PnPDevicePropertyから継承されます。

キー

データ型: string

アクセスの種類: 読み取り専用

Data プロパティを識別する Key Name-Value ペアの値。

このプロパティは、 Win32_PnPDevicePropertyから継承されます。

Keyname

データ型: string

アクセスの種類: 読み取り専用

Data プロパティを識別する Key Name-Value ペアの名前。

このプロパティは、 Win32_PnPDevicePropertyから継承されます。

Type

データ型: Uint32

アクセスの種類: 読み取り専用

Data プロパティの型。

このプロパティは、 Win32_PnPDevicePropertyから継承されます。

使用できる値は 次のとおりです。

(0)

Null (1)

SByte (2)

バイト (3)

Int16 (4)

UInt16 (5)

Int32 (6)

Uint32 (7)

Int64 (8)

UInt64 (9)

Float (10)

Double (11)

Decimal (12)

Guid (13)

通貨 (14)

日付 (15)

FileTime (16)

Boolean (17)

String (18)

SecurityDescriptor (19)

SecurityDescriptorString (20)

DEVPROPKEY (21)

DEVPROPTYPE (22)

エラー (23)

NTStatus (24)

StringIndirect (25)

Reserved

26–4097

SByteArray (4098)

Binary (4099)

Int16Array (4100)

UInt16Array (4101)

Int64Array (4102)

UInt64Array (4103)

FloatArray (4104)

DoubleArray (4105)

DecimalArray (4106)

GuidArray (4107)

CurrencyArray (4108)

DateArray (4109)

FileTimeArray (4110)

BooleanArray (4111)

StringList (4112)

SecurityDescriptorList (4113)

SecurityDescriptorStringList (8210)

DEVPROPKEYArray (8211)

DEVPROPTYPEArray (8212)

ErrorArray (4117)

NTStatusArray (4118)

StringIndirectList (4119)

不明 - devpropdef.h のチェック (4120)

TBD (8217)

Reserved

8218–4294967295

要件

要件
サポートされている最小のクライアント
Windows 10 [デスクトップ アプリのみ]
サポートされている最小のサーバー
Windows Server 2016
名前空間
Root\CIMV2
MOF
Cimwin32.mof
[DLL]
CIMWin32.dll

こちらもご覧ください

Win32_PnPDeviceProperty