Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Used to validate a value before setting a property.
virtual HRESULT CUtlPropsBase::IsValidValue(
ULONG /* iCurSet */,
DBPROP* pDBProp
);
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.
Return Value
A standard HRESULT. The default return value is S_OK.
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.
Requirements
Header: atldb.h