CODComponent::AddProperty

BOOL CODComponent::AddProperty(CODProperty& prop)

Add the specified property.

Defined in: OdComponent.cpp

Return Value

TRUE if successful; otherwise FALSE.

Parameters

prop

Reference to property object to add.

Comments

This function attempts to add the given property to the component. If the property already exists in the component, this function fails. If successful, a copy of the property passed in is assigned to the component.