CODComponent::UpdateProperty

BOOLCODComponent::UpdateProperty(CODProperty&prop)

Updates the specified property.

Defined in: OdComponent.cpp

Return Value

TRUE if successful; otherwise FALSE.

Parameters

prop

Reference to property object to update.

Comments

This function locates the property matching the ID of the property object passed in and updates it using the given value. If successful, the property is updated with the value of the property passed in. If the component does not contain a property matching the ID passed in, this function fails. This function is almost identical to  ChangeProperty.