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

Returns the result of retrieving the property value.

Retrieves the current value of the property.

If the value was successfully returned 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.