Skip to content

M_CommandLine_Text_CopyrightInfo__ctor_1

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

CopyrightInfo Constructor (Boolean, String, Int32[])

Initializes a new instance of the CopyrightInfo class specifying symbol case, author and copyrightYears.

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

Syntax

C#

public CopyrightInfo(
	bool isSymbolUpper,
	string author,
	params int[] copyrightYears
)

VB

Public Sub New ( 
	isSymbolUpper As Boolean,
	author As String,
	ParamArray copyrightYears As Integer()
)

C++

public:
CopyrightInfo(
	bool isSymbolUpper, 
	String^ author, 
	... array<int>^ copyrightYears
)

F#

new : 
        isSymbolUpper : bool * 
        author : string * 
        copyrightYears : int[] -> CopyrightInfo

Parameters

 

isSymbolUpper
Type: System.Boolean
The case of the copyright symbol.
author
Type: System.String
The company or person holding the copyright.
copyrightYears
Type: System.Int32[]
The copyrightYears of coverage of copyright.

Exceptions

 

Exception Condition
ArgumentException Thrown when parameter author is null or empty string.
ArgumentOutOfRangeException Thrown when parameter copyrightYears is not supplied.

See Also

Reference

CopyrightInfo Class
CopyrightInfo Overload
CommandLine.Text Namespace

Clone this wiki locally