IType.IsNullable Property
IsNullable
Gets the nullability of the type, or null
if the type is a reference type but its nullability has not been analyzed or specified.
This property returns false
for normal value types and true
for the Nullable<T> type. Note that in
case of nullable value types, the current type represents the Nullable<T> type itself, and the inner value type
is exposed as UnderlyingType.
Declaration
bool? IsNullable { get; }
Property Value
Type | Description |
---|---|
bool? |