CODProperty::GetValue

Get the value of this property.

Defined in: OdProperty.h

Syntax

void CODProperty::GetValue(CString& strValue) const

void CODProperty::GetValue(int& nValue) const

void CODProperty::GetValue(UINT& nValue) const

void CODProperty::GetValue(DWORD& dwValue) const

void CODProperty::GetValue(float& fValue) const

Parameters

strValue

Reference to string object in which to store the value.

nValue

Reference to int object in which to store the value.

nValue

Reference to UINT object in which to store the value.

dwValue

Reference to DWORD object in which to store the value.

fValue

Reference to float object in which to store the value.

Comments

Each overloaded version of this function provides an interface to retrieve the value of the property as a different data type. The CODProperty class provides a default implementation for all of these methods that throws a CODPropertyConversionException exception. It is the responsibility of derived property classes to override the versions of this method they support conversions for.