語言

IClrPropertyGetter.HasSentinelValue(Object) 方法

定義

檢查該屬性是否設定為其型別的 CLR 預設值。

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

參數

structuralObject
Object

實體或複雜型態實例。

傳回

true 若屬性值為 CLR 預設值; false 它是任何其他價值。

適用於