ActionItemBaseTAction, TCollectionGetCurrentFile Method

Return the current file.

Definition

Namespace: ActionEngine
Assembly: ActionEngine (in ActionEngine.dll) Version: 26.2117.4453
C#
protected static FileInfo GetCurrentFile(
	TAction item
)

Parameters

item  TAction
Reference to the file action for which the current file will be retrieved.

Return Value

FileInfo
Reference to the current file in focus, if found. Otherwise, null.

Remarks

If a file has been placed in focus by a loop or other method, that object will be returned from the CurrentFile property. Otherwise, the first item in InputFiles collection is returned.

See Also