Click or drag to resize

ShellFolderAddColumn Method (String, SHCOLSTATE)

Adds a column, using a property key canonical name, to this folder. If a column with the same property key was already present in the Columns collection, it will be replaced.

Namespace:  ShellBoost.Core
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
protected ShellFolderColumn AddColumn(
	string canonicalName,
	SHCOLSTATE state = SHCOLSTATE.SHCOLSTATE_DEFAULT
)

Parameters

canonicalName
Type: SystemString
The canonical name.
state (Optional)
Type: ShellBoost.Core.WindowsShellSHCOLSTATE
The state.

Return Value

Type: ShellFolderColumn
An instance of the ShellFolderColumn class.
Exceptions
ExceptionCondition
ArgumentNullExceptioncanonicalName is null.
See Also