共用方式為


PROVIDER_COLUMN_ENTRY_WSTR

 

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 PROVIDER_COLUMN_ENTRY_WSTR.

Represents a specific column supported by the provider.

Syntax

  
PROVIDER_COLUMN_ENTRY_WSTR(  
name  
, ordinal, member )  

Parameters

name
[in] The column name.

ordinal
[in] The column number. Unless the column is a Bookmark column, the column number must not be 0.

member
[in] The member variable in the data class that stores the data.

Remarks

Use this macro when the column data is a null terminated Unicode character string, DBTYPE_WSTR.

Requirements

Header: atldb.h

See Also

Macros for OLE DB Provider Templates
OLE DB Provider Templates
OLE DB Provider Template Architecture
Creating an OLE DB Provider