MI_Class_GetElementCount函式 (mi.h)

取得類別中的項目數目。

語法

MI_INLINE MI_Result MI_Class_GetElementCount(
  [in]  const MI_Class *self,
  [out] MI_Uint32      *count
);

參數

[in] self

要從中取得項目計數之類別的指標。

[out] count

要接收傳回專案計數之變數的指標。

傳回值

此函式會傳回MI_INLINE MI_Result。

規格需求

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