英語で読む 編集

次の方法で共有


XamlType.LookupIsNullable Method

Definition

Returns a value that indicates whether this XamlType represents a nullable type, as per the XAML definition.

protected virtual bool LookupIsNullable();

Returns

true if this XamlType represents a nullable type; otherwise, false.

Remarks

This method can be invoked by calls to IsNullable.

The default implementation makes a determination based on the CLR core library nullable concept, checked against UnderlyingType. For a null UnderlyingType, it returns true.

Override this method if you want IsNullable to use different logic.

Applies to

製品 バージョン
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10