Click or drag to resize

PFViewGetFields Method

Gets the list of fields displayed in the view.

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public List<PFField> GetFields(
	bool useCache = false,
	PFContentType specificContentType = null,
	bool useAnyContentType = false
)

Parameters

useCache (Optional)
Type: SystemBoolean
Search field requires an analyze of the query. Specify true if this method is called many times for same results and view does not change.
specificContentType (Optional)
Type: Packflow.CorePFContentType
If the view has many content-types, you must specify a specific content-type among view content-types.
useAnyContentType (Optional)
Type: SystemBoolean
If this view concerns multiple content-types, will search for the first possible with the corresponding name for each visible column.

Return Value

Type: ListPFField
ListT
Exceptions
ExceptionCondition
InvalidOperationExceptionThis method requires a specific content-type if the view references multiple content-types.
See Also