语言

IClrPropertyGetter.HasSentinelValueUsingContainingEntity 方法

定义

重载

名称 说明
HasSentinelValueUsingContainingEntity(Object)

检查包含实体实例中的属性是否设置为其类型的 CLR 默认值。

HasSentinelValueUsingContainingEntity(Object, IReadOnlyList<Int32>)

检查包含实体实例中的属性是否设置为其类型的 CLR 默认值。

HasSentinelValueUsingContainingEntity(Object)

Source:
IClrPropertyGetter.cs
Source:
IClrPropertyGetter.cs

检查包含实体实例中的属性是否设置为其类型的 CLR 默认值。

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

参数

entity
Object

实体实例。

返回

true 如果属性值为 CLR 默认值,则为 ; false 它是任何其他值。

适用于

HasSentinelValueUsingContainingEntity(Object, IReadOnlyList<Int32>)

Source:
IClrPropertyGetter.cs
Source:
IClrPropertyGetter.cs

检查包含实体实例中的属性是否设置为其类型的 CLR 默认值。

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

参数

entity
Object

实体实例。

indices
IReadOnlyList<Int32>

对应于用于访问属性的复杂集合的索引。

返回

true 如果属性值为 CLR 默认值,则为 ; false 它是任何其他值。

适用于