BuildMaster SDK Reference
Version:

GetArtifactFileInfo(PromotionContext context, string fileName) Method

Returns information about a file in an artifact if the file was found; otherwise returns null (Nothing in Visual Basic).

Syntax

protected Inedo.BuildMaster.Files.ExtendedFileEntryInfo GetArtifactFileInfo(PromotionContext context, string fileName)

Parameters

context
Type: PromotionContext

Current promotion context.

fileName
Type: string

Name of the file in the artifact.

Returns

Information about a file in an artifact if this file was found; otherwise null (Nothing in Visual Basic).