MI_PropertySetFT structure (mi.h)

A support structure used in the MI_PropertySet structure. Use the functions with the name prefix "MI_PropertySet_" to manipulate these structures.

Syntax

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;

Members

GetElementCount

Gets the number of elements in the specified property set. See MI_PropertySet_GetElementCount.

ContainsElement

Determines whether the property list contains the specified property. See MI_PropertySet_ContainsElement.

AddElement

Adds a name to the property list. See MI_PropertySet_AddElement.

GetElementAt

Gets the element of a property set at the specified index. See MI_PropertySet_GetElementAt.

Clear

Removes all names from the property list. See MI_PropertySet_Clear.

Destruct

Deletes the specified property list that was constructed on the stack. See MI_PropertySet_Destruct.

Delete

Deletes the specified property list that was constructed on the heap. See MI_PropertySet_Delete.

Clone

Creates a copy of the specified property set on the heap. See MI_PropertySet_Clone.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header mi.h
Redistributable Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2