Sets the visibility of a column.
| C# | Visual Basic | Visual C++ |
public int SetColumnVisibilty( SHCOLUMNID p_ColID, bool visible )
Public Function SetColumnVisibilty ( _ p_ColID As SHCOLUMNID, _ visible As Boolean _ ) As Integer
public: int SetColumnVisibilty( SHCOLUMNID p_ColID, bool visible )
- p_ColID (SHCOLUMNID)
- The ShColumnId. Note: Deleting the name column is not allowed.
- visible (Boolean)
- True to show the column, false to hide.
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.