JamBaseShellListViewSetColumnVisibility Method (SHCOLUMNID, Boolean) |
Sets the visibility of a column.
Namespace:
Jam.Shell
Assembly:
ShellBrowser.Winforms (in ShellBrowser.Winforms.dll) Version: 6.3.1
Syntax public virtual int SetColumnVisibility(
SHCOLUMNID p_ColID,
bool visible
)
Public Overridable Function SetColumnVisibility (
p_ColID As SHCOLUMNID,
visible As Boolean
) As Integer
public:
virtual int SetColumnVisibility(
SHCOLUMNID p_ColID,
bool visible
)
abstract SetColumnVisibility :
p_ColID : SHCOLUMNID *
visible : bool -> int
override SetColumnVisibility :
p_ColID : SHCOLUMNID *
visible : bool -> int
Parameters
- p_ColID
- Type: Jam.ShellSHCOLUMNID
The SHCOLUMNID. Note: Deleting the name column is not allowed. - visible
- Type: SystemBoolean
True to show the column, false to hide.
Return Value
Type:
Int32
0 or more: the index of the added column.
-1: the column was successfully removed.
-2: the 'name' column should be removed but thats not allowed.
Remarks See Also