Skip to content

M_CommandLine_Text_CopyrightInfo__ctor_3

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

CopyrightInfo Constructor (String, Int32)

Initializes a new instance of the CopyrightInfo class specifying author and year.

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

Syntax

C#

public CopyrightInfo(
	string author,
	int year
)

VB

Public Sub New ( 
	author As String,
	year As Integer
)

C++

public:
CopyrightInfo(
	String^ author, 
	int year
)

F#

new : 
        author : string * 
        year : int -> CopyrightInfo

Parameters

 

author
Type: System.String
The company or person holding the copyright.
year
Type: System.Int32
The year of coverage of copyright.

Exceptions

 

Exception Condition
ArgumentException Thrown when parameter author is null or empty string.

See Also

Reference

CopyrightInfo Class
CopyrightInfo Overload
CommandLine.Text Namespace

Clone this wiki locally