次の方法で共有


CUtlProps::GetPropValue

 

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::GetPropValue.

Gets a property from a property set.

Syntax

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

Parameters

pguidPropSet
[in] The GUID for the PropSet.

dwPropId
[in] The property index.

pvValue
[out] 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