NAnt SDK Documentation - v0.85-nightly-2005-11-09

FileVersionInfoFunctions.GetVersionInfo Method 

[This is preliminary documentation and subject to change.]

Returns a FileVersionInfo representing the version information associated with the specified file.

[Visual Basic]
<Function(Name:="get-version-info")>
Public Function GetVersionInfo( _
   ByVal fileName As String _
) As FileVersionInfo
[C#]
[Function(Name="get-version-info")]
public FileVersionInfo GetVersionInfo(
   string fileName
);

Parameters

fileName
The file to retrieve the version information for.

Return Value

A FileVersionInfo containing information about the file.

Remarks

Missing <remarks> documentation for M:NAnt.Core.Functions.FileVersionInfoFunctions.GetVersionInfo(System.String)

Exceptions

Exception Type Condition
FileNotFoundException The file specified cannot be found.

See Also

FileVersionInfoFunctions Class | NAnt.Core.Functions Namespace