IHasDefaultValueDefaultValue Property
The default value assigned to this object.
Namespace: MobileTrack.Common.InterfacesAssembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Object DefaultValue { get; set; }
Property Value
Object
The value must always be stateful; it cannot be
It must represent the default state of a value-type struct.
This is except for Identifiers, which is why
Empty is not allowed.
Valid examples of default values include: a
String (
Empty),
Guid (not
Empty),
Double (
0.0d),
GeoLocation (
Empty), and so on.
To represent empty Identifiers (
Empty), use an
Int32 of value
0, similar to NULL in the C Programming Language.