ICoreFragment::GetColumnCount method (winsync.h)

Gets the number of columns that are contained in this knowledge fragment.

Syntax

HRESULT GetColumnCount(
  [out] DWORD *pColumnCount
);

Parameters

[out] pColumnCount

Returns the number of columns that are contained in this knowledge fragment.

Return value

The possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
S_OK
The method succeeded.
E_POINTER
Invalid pointer.

Remarks

An ISyncKnowledge2 object contains one or more ICoreFragment objects. Each object contains knowledge that applies to a specific set of columns. A column is represented as a change unit. Typically, one of the ICoreFragment objects contains no columns. When an ICoreFragment object contains no columns, its knowledge applies to all of the change units that are not specified in any other fragment.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header winsync.h

See also

ICoreFragment Interface