Share via


IClrPropertyGetter.HasDefaultValue(Object) Method

Definition

Checks whether or not the property is set to the CLR default for its type.

public bool HasDefaultValue (object entity);
abstract member HasDefaultValue : obj -> bool
Public Function HasDefaultValue (entity As Object) As Boolean

Parameters

entity
Object

The entity instance.

Returns

true if the property value is the CLR default; false it is any other value.

Applies to