Skip to content

M_CodeJam_Reflection_ParamInfo_Param

Andrew Koryavchenko edited this page Jun 17, 2018 · 6 revisions

ParamInfo.Param Method

Initializes a new instance of the ParamInfo class.

Namespace: CodeJam.Reflection
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

public static ParamInfo Param(
	string name,
	Object value,
	bool required = true
)

VB

Public Shared Function Param ( 
	name As String,
	value As Object,
	Optional required As Boolean = true
) As ParamInfo

F#

static member Param : 
        name : string * 
        value : Object * 
        ?required : bool 
(* Defaults:
        let _required = defaultArg required true
*)
-> ParamInfo 

Parameters

 

name
Type: System.String
Name of the parameter.
value
Type: System.Object
Value of the parameter.
required (Optional)
Type: System.Boolean
True if parameter required.

Return Value

Type: ParamInfo
Instance of ParamInfo.

See Also

Reference

ParamInfo Class
CodeJam.Reflection Namespace

Clone this wiki locally