CUtlProps::IsValidValue

virtual HRESULT IsValidValue( ULONG iCurSet, DBPROP* pDBProp );

Return Value

A standard HRESULT. The default return value is S_OK.

Parameters

iCurSet

The index into the property-set array; zero if there is only one property set.

pDBProp

The property ID and new value in a DBPROP structure.

Remarks

If you have any validation routines you want to run on a value that you are about to use to set a property, you should override this function. For example, you could validate DBPROP_AUTH_PASSWORD against a password table to determine a valid value.

CUtlProps OverviewClass Members