FieldDecl Constructor (String, Expression, Modifiers, Expression) |
Create a field declaration.
Namespace:
Nova.CodeDOM
Assembly:
Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax public FieldDecl(
string name,
Expression type,
Modifiers modifiers,
Expression initialization = null
)
Parameters
- name
- Type: SystemString
The name of the field. - type
- Type: Nova.CodeDOMExpression
The type of the field - modifiers
- Type: Nova.CodeDOMModifiers
The modifiers for the field. - initialization (Optional)
- Type: Nova.CodeDOMExpression
The initialization expression for the field.
See Also