CODProperty::SetValue

Set the value of this property.

Defined in: OdProperty.h

Syntax

void CODProperty::SetValue(const LPCTSTR lpszValue)

void CODProperty::SetValue(const int nValue)

void CODProperty::SetValue(const UINT nValue)

void CODProperty::SetValue(const DWORD dwValue)

void CODProperty::SetValue(const float fValue)

Parameters

lpszValue

String containing new value to assign to property.

nValue

Integer containing new value to assign to property.

nValue

Unsigned integer containing new value to assign to property.

dwValue

DWORD containing new value to assign to property.

fValue

Float containing new value to assign to property.

Comments

Each overloaded version of this function provides an interface to assign a different data type value to the property. 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.