勇芳软件工作室.汉化:  Windows Management Instrumentation > COM API for WMI > Interfaces >

IWbemPathKeyList

Previous pageReturn to chapter overviewNext page

IWbemPathKeyList界面用于访问路径密钥的详细信息。

 

方法

 

IWbemPathKeyList接口继承了IUnknown接口的方法。

 

此外,IWbemPathKeyList定义了以下方法。

 

方法

描述

GetCount

检索路径中的键数。

GetInfo

检索密钥的状态位。

GetKey

检索密钥名称或值。

GetKey2

检索将值返回为VARIANT的键名或值。

GetText

检索密钥列表作为文本。

MakeSingleton

治理一个关键是单身吗

RemoveAllKeys

删除所有键。

RemoveKey

删除指定的键。

SetKey

设置键的名称或值对。

SetKey2

使用变体设置键的名称或值对。

 

备注

 

Windows 2000 / NT:需要WMI SDK Update或Microsoft .NET Framework SDK。

 

Windows NT:需要Microsoft .NET Framework SDK。

 

要求

 

客户

需要Windows Vista或Windows XP。

服务器

需要Windows Server 2008或Windows Server 2003。

可再发行

需要Windows 2000和Windows NT上的WMI可重新分发组件版本1.0。在Windows NT上,它也需要Microsoft .NET Framework。

在Wmiutils.inc中声明。

DLL

需要Wmiutils.dll。