Using the Process Analyst > Process Analyst for Developers > Automation Model > IObjectViewColumns.Hide [Method]

IObjectViewColumns.Hide [Method]

Makes the specified column hidden within the Object View.

Defined As

Parameters

columnName

[in] The string ID uniquely identifying the column you want to hide

Execution Result

If the property get succeeds, the return value will be Success. If the return variable is bad, the return value will be InvalidArgument. If the field cannot be set, GeneralFailure is returned.

See Also

IObjectViewColumns.Show [Method]

Calling Syntax

This example assumes there is a columns Collection from an ObjectView. (for example, VBA: objectView.Columns).

[VBA]

Sub Example(columns As Object)
columns.Hide "Error"
End Sub

[Cicode]

FUNCTION Example(OBJECT hColumns)
_ObjectCallMethod(hColumns, "Hide", "Error");
END