FileSpecification.GetFileName

FileSpecification.GetFileName method

Gets the file name using the available file specification names, the specified fallback name, or a generated name if no other name is available.

public string GetFileName(string fallbackName = null, bool allowEmptyName = false)
ParameterTypeDescription
fallbackNameStringThe fallback file name to use if no file specification name is available.
allowEmptyNameBooleanSpecifies whether an empty file name is allowed.

Return Value

The resolved file name.

See Also