共用方式為


CDBPropIDSet::SetGUID

 

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 CDBPropIDSet::SetGUID.

Sets the GUID field in the DBPROPIDSET structure.

Syntax

  
      void SetGUID(   
   const GUID& guid    
) throw( );  

Parameters

guid
[in] A GUID used to set the guidPropertySet field of the DBPROPIDSET structure.

Remarks

This field can be set by the constructor as well. Call this function if you use the default constructor for this class.

Requirements

Header: atldbcli.h

See Also

CDBPropIDSet Class