v2.26
IEquipmentStyleManager Interface Reference

Allows the user to obtain equipment styles. This interface can be obtained from IProject interface. More...

Inheritance diagram for IEquipmentStyleManager:

Public Member Functions

HRESULT GetIds ([out, retval] SAFEARRAY(int) *pIds)
 Gets the identifiers of equipment styles. More...
 
HRESULT Contains ([in] int id, [out, retval] VARIANT_BOOL *pContains)
 Indicates whether the manager contains the equipment style specified by the identifier. More...
 
HRESULT GetEquipmentStyle ([in] int id, [out, retval] IEquipmentStyle **ppEquipmentStyle)
 Returns the equipment style specified by the identifier. More...
 

Detailed Description

Allows the user to obtain equipment styles. This interface can be obtained from IProject interface.

See also
IProject, IEquipmentStyle

Member Function Documentation

◆ Contains()

HRESULT IEquipmentStyleManager::Contains ( [in] int  id,
[out, retval] VARIANT_BOOL *  pContains 
)

Indicates whether the manager contains the equipment style specified by the identifier.

Parameters
[in]idIdentifier of the equipment style.
[out]pContainsTRUE if the manager contains the equipment style, FALSE otherwise.

◆ GetEquipmentStyle()

HRESULT IEquipmentStyleManager::GetEquipmentStyle ( [in] int  id,
[out, retval] IEquipmentStyle **  ppEquipmentStyle 
)

Returns the equipment style specified by the identifier.

Parameters
[in]idIdentifier of the equipment style.
[out]ppEquipmentStylethe requested equipment style, or nullptr if the equipment style is not found.

◆ GetIds()

HRESULT IEquipmentStyleManager::GetIds ( [out, retval] SAFEARRAY(int) *  pIds)

Gets the identifiers of equipment styles.

Returns
An array containing the identifiers of equipment styles.