Formats a version into the standard format nn.nn.nn

Namespace: DotNetNuke.Common
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static string FormatVersion(
	Version version,
	string fieldFormat,
	int fieldCount,
	string delimiterCharacter
)
Visual Basic
Public Shared Function FormatVersion ( 
	version As Version,
	fieldFormat As String,
	fieldCount As Integer,
	delimiterCharacter As String
) As String

Parameters

version
Type: System..::..Version
The version to be formatted.
fieldFormat
Type: System..::..String
The field format.
fieldCount
Type: System..::..Int32
The field count.
delimiterCharacter
Type: System..::..String
The delimiter character.

Return Value

Formatted version as a string

See Also