MI_PropertySetFT結構 (mi.h)

MI_PropertySet結構中使用的支援結構。 使用名稱前置詞為 「MI_PropertySet_」 的函式來管理這些結構。

語法

typedef struct _MI_PropertySetFT {
  MI_Result((const MI_PropertySet *self,MI_Uint32 *count) * )GetElementCount;
  MI_Result(const MI_PropertySet *self, const MI_Char *name,MI_Boolean *flag) * )(ContainsElement;
  MI_Result((MI_PropertySet *self, const MI_Char *name) * )AddElement;
  MI_Result(const MI_PropertySet *self,MI_Uint32 index, const MI_Char **name) * )(GetElementAt;
  MI_Result()(MI_PropertySet *self) * Clear;
  MI_Result()(MI_PropertySet *self) * Destruct;
  MI_Result()(MI_PropertySet *self) * Delete;
  MI_Result(const MI_PropertySet *self,MI_PropertySet **newPropertySet) * )(Clone;
} MI_PropertySetFT;

成員

GetElementCount

取得指定之屬性集中的專案數目。 請參閱 MI_PropertySet_GetElementCount。

ContainsElement

判斷屬性清單是否包含指定的屬性。 請參閱 MI_PropertySet_ContainsElement。

AddElement

將名稱加入至屬性清單。 請參閱 MI_PropertySet_AddElement。

GetElementAt

取得位於指定索引處之屬性集的專案。 請參閱 MI_PropertySet_GetElementAt。

Clear

從屬性清單中移除所有名稱。 請參閱 MI_PropertySet_Clear。

Destruct

刪除在堆疊上建構的指定屬性清單。 請參閱 MI_PropertySet_Destruct。

Delete

刪除堆積上建構的指定屬性清單。 請參閱 MI_PropertySet_Delete。

Clone

建立堆積上所設定之指定屬性的複本。 請參閱 MI_PropertySet_Clone。

需求

   
最低支援的用戶端 Windows 8
最低支援的伺服器 Windows Server 2012
標頭 mi.h
可轉散發套件 windows Server 2008 R2 SP1、Windows 7 SP1 和 Windows Server 2008 SP2 上的 Windows Management Framework 3.0