Click or drag to resize

LocalDecl Constructor (String, Expression, Modifiers, Expression)

Create a local constant instance.

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public LocalDecl(
	string name,
	Expression type,
	Modifiers modifiers,
	Expression initialization
)

Parameters

name
Type: SystemString
The name of the constant.
type
Type: Nova.CodeDOMExpression
The type of the constant.
modifiers
Type: Nova.CodeDOMModifiers
Must be Modifiers.Const.
initialization
Type: Nova.CodeDOMExpression
The initialization expression for the constant.
See Also