iWbemPathKeyList 介面 (wmiutils.h)

IWbemPathKeyList 介面可用來存取路徑索引鍵的詳細數據。

繼承

IWbemPathKeyList 介面繼承自 IUnknown 介面。 IWbemPathKeyList 也有下列類型的成員:

方法

IWbemPathKeyList 介面具有這些方法。

 
IWbemPathKeyList::GetCount

IWbemPathKeyList::GetCount 方法會擷取路徑中的索引鍵數目。
IWbemPathKeyList::GetInfo

IWbemPathKeyList::GetInfo 方法會擷取密鑰的狀態位。
IWbemPathKeyList::GetKey

IWbemPathKeyList::GetKey 方法會擷取密鑰的名稱或值。 索引鍵是從 0 (零) 編製索引,不過索引鍵的順序並不重要。
IWbemPathKeyList::GetKey2

IWbemPathKeyList::GetKey2 方法會擷取索引鍵名稱或值,並將值傳回為 VARIANT。 索引鍵會從 0 (零) 編製索引,但索引鍵順序並不重要。
IWbemPathKeyList::GetText

IWbemPathKeyList::GetText 方法會將密鑰清單擷取為文字。
IWbemPathKeyList::MakeSingleton

IWbemPathKeyList::MakeSingleton 方法會控管索引鍵是否為單一密鑰。
IWbemPathKeyList::RemoveAllKeys

IWbemPathKeyList::RemoveAllKeys 方法會移除所有索引鍵。
IWbemPathKeyList::RemoveKey

IWbemPathKeyList::RemoveKey 方法會移除符合 wszName 參數的索引鍵。
IWbemPathKeyList::SetKey

設定索引鍵的名稱或值組。
IWbemPathKeyList::SetKey2

使用變體設定索引鍵的名稱或值組。

規格需求

需求
最低支援的用戶端 Windows Vista
最低支援的伺服器 Windows Server 2008
目標平台 Windows
標頭 wmiutils.h