Adding this attribute to a field declaration means that the field is not initialized. During type checking a constraint is asserted that the field type supports 'null'. If the 'check' value is false then the constraint is not asserted.
Constructor | Description |
Full Usage:
DefaultValueAttribute(check)
Parameters:
bool
-
Indicates whether to assert that the field type supports null .
Returns: DefaultValueAttribute
DefaultValueAttribute
|
|
|
|
Instance member | Description |
|
|