IColumnsInfo.GetColumnInfo(Int32, IntPtr, IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the column metadata needed by most consumers.
public:
void GetColumnInfo([Runtime::InteropServices::Out] int % cColumns, [Runtime::InteropServices::Out] IntPtr % pColumnInfo, [Runtime::InteropServices::Out] IntPtr % pStringsBuffer);
public void GetColumnInfo (out int cColumns, out IntPtr pColumnInfo, out IntPtr pStringsBuffer);
abstract member GetColumnInfo : int * nativeint * nativeint -> unit
Public Sub GetColumnInfo (ByRef cColumns As Integer, ByRef pColumnInfo As IntPtr, ByRef pStringsBuffer As IntPtr)
Parameters
- cColumns
- Int32
A pointer to memory in which to return the number of columns in the rowset; this number includes the bookmark column, if there is one.
- pColumnInfo
-
IntPtr
nativeint
A pointer to memory in which to return an array of DBCOLUMNINFO
structures.
- pStringsBuffer
-
IntPtr
nativeint
A pointer to memory in which to return a pointer to storage for all string values (names used either within columnid or for pwszName) within a single allocation block.
Remarks
Note
Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic 2008. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.