XamlType.IsNullable Property
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.
Gets a value that indicates whether this XamlType represents a nullable type, as per the XAML definition.
public:
property bool IsNullable { bool get(); };
public bool IsNullable { get; }
member this.IsNullable : bool
Public ReadOnly Property IsNullable As Boolean
Property Value
true
if this XamlType represents a nullable type; otherwise, false
.
Remarks
This property aligns to the [is nullable]
information item in the [MS-XAML] specification.
If you are not using the default internal CLR reflection technique for a XamlType, calls to this property can invoke LookupIsNullable overrides on XamlType derived classes.
Applies to
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour