Skip to content

M_CommandLine_Text_CopyrightInfo_FormatYears

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

CopyrightInfo.FormatYears Method

When overridden in a derived class, allows to specify a new algorithm to render copyright copyrightYears as a String instance.

Namespace: CommandLine.Text
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

protected virtual string FormatYears(
	int[] years
)

VB

Protected Overridable Function FormatYears ( 
	years As Integer()
) As String

C++

protected:
virtual String^ FormatYears(
	array<int>^ years
)

F#

abstract FormatYears : 
        years : int[] -> string 
override FormatYears : 
        years : int[] -> string 

Parameters

 

years
Type: System.Int32[]
A Int32 array of copyrightYears.

Return Value

Type: String
A String instance with copyright copyrightYears.

See Also

Reference

CopyrightInfo Class
CommandLine.Text Namespace

Clone this wiki locally