DocumentRepositoryTryGetPhysicalFile(IHasDocumentMetadata, PhysicalFile) Method

Attempts to retrieve a file by an entity that references a the file's DocumentMetadata

Definition

Namespace: Ignition.DocumentManagement
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
public bool TryGetPhysicalFile(
	IHasDocumentMetadata attachedDocumentMetadataObject,
	out PhysicalFile fileShim
)

Parameters

attachedDocumentMetadataObject  IHasDocumentMetadata
The entity that references the document metadata whose physical file should be retrieved
fileShim  PhysicalFile
The retrieved file if successful; otherwise null

Return Value

Boolean
True if the file was retrieved successfully; otherwise false

See Also