CommonIsDefaultValue Method
Determines if given item is equal to its default value (e.g., null or 0.0).
Namespace: GemstoneAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.147 -- Release Build+759c9d29b79c81f10905de8f58b653be932045f0
Public Shared Function IsDefaultValue (
item As Object
) As Boolean
public:
static bool IsDefaultValue(
Object^ item
)
Gemstone.Common.IsDefaultValue = function(item);
- item Object
- Object to evaluate.
BooleanResult of evaluation as a
Boolean.
Native types default to zero, not null, therefore this can be used to evaluate if an item is its default (i.e., uninitialized) value.