Share via


IClrPropertyGetter.HasSentinelUsingContainingEntity(Object) Method

Definition

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

public bool HasSentinelUsingContainingEntity (object entity);
abstract member HasSentinelUsingContainingEntity : obj -> bool
Public Function HasSentinelUsingContainingEntity (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