Share via


CUtlProps::SetPropValue

Sets a property in a property set.

HRESULT SetPropValue(
   const GUID* pguidPropSet,
   DBPROPID dwPropId,
   VARIANT* pvValue 
);

Parameters

  • pguidPropSet
    [in] The GUID for the PropSet.

  • dwPropId
    [in] The property index.

  • pvValue
    [in] A pointer to a variant that contains the new property value.

Return Value

Failure on failure and S_OK if successful.

Requirements

Header: atldb.h

See Also

Reference

CUtlProps Class

Other Resources

CUtlProps Members