IClrPropertyGetter.HasSentinelValueUsingContainingEntity Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| HasSentinelValueUsingContainingEntity(Object) |
Checks whether the property from the containing entity instance is set to the CLR default for its type. |
| HasSentinelValueUsingContainingEntity(Object, IReadOnlyList<Int32>) |
Checks whether the property from the containing entity instance is set to the CLR default for its type. |
HasSentinelValueUsingContainingEntity(Object)
- Source:
- IClrPropertyGetter.cs
Checks whether the property from the containing entity instance is set to the CLR default for its type.
public virtual bool HasSentinelValueUsingContainingEntity(object entity);
abstract member HasSentinelValueUsingContainingEntity : obj -> bool
override this.HasSentinelValueUsingContainingEntity : obj -> bool
Public Overridable Function HasSentinelValueUsingContainingEntity (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
HasSentinelValueUsingContainingEntity(Object, IReadOnlyList<Int32>)
- Source:
- IClrPropertyGetter.cs
Checks whether the property from the containing entity instance is set to the CLR default for its type.
public bool HasSentinelValueUsingContainingEntity(object entity, System.Collections.Generic.IReadOnlyList<int> indices);
abstract member HasSentinelValueUsingContainingEntity : obj * System.Collections.Generic.IReadOnlyList<int> -> bool
Public Function HasSentinelValueUsingContainingEntity (entity As Object, indices As IReadOnlyList(Of Integer)) As Boolean
Parameters
- entity
- Object
The entity instance.
- indices
- IReadOnlyList<Int32>
The indices corresponding to complex collections used to access the property.
Returns
true if the property value is the CLR default; false it is any other value.