MI_PropertySet_ContainsElement function (mi.h)

Determines whether the property list contains the specified property name.

Syntax

MI_INLINE MI_Result MI_INLINE_CALL MI_PropertySet_ContainsElement(
  [in]  const MI_PropertySet *self,
        const MI_Char        *name,
  [out] MI_Boolean           *flag
);

Parameters

[in] self

Property list to be checked.

name

A null-terminated string that represents the name to check for in the property list.

[out] flag

Returned Boolean value. MI_TRUE indicates that the specified property was found; otherwise MI_FALSE is returned.

Return value

A value of the MI_Result enumeration that specifies the function return code. This can be one of the following codes.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Windows
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