API Reference > Classes > OdTf Classes > OdTfProperty Class > OdTfProperty Methods > OdTfProperty::setValue Method
OdTfProperty::setValue Method
Syntax
C++
virtual OdResult setValue(OdTfObject* pObject, const OdTfVariant& value) const = 0;
Parameters 
Description 
OdTfObject* pObject 
[in] A pointer to an object that encapsulates the property.  
const OdTfVariant& value 
[out] A new value to be set.  

Returns the result of setting the property value.

Sets a new value of the property.

If the value was successfully set to a calling subroutine, the method returns the eOk value; otherwise it returns an appropriate error code.

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.