Share via


CUtlProps::SetPropValue

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at CUtlProps::SetPropValue.

Sets a property in a property set.

Syntax

  
      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

CUtlProps Class