NullableContextOptions Enum
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.
Specifies the nullable context.
public enum NullableContextOptions
type NullableContextOptions =
Public Enum NullableContextOptions
- Inheritance
-
NullableContextOptions
Fields
Annotations | 3 | Nullable annotation context is enabled and the nullable warning context is disabled. |
Disable | 0 | Nullable annotation and warning contexts are disabled. |
Enable | 1 | Nullable annotation and warning contexts are enabled. |
SafeOnly | 2 | Nullable annotation context is enabled and the nullable warning context is safeonly. |
SafeOnlyWarnings | 4 | Nullable annotation context is disabled and the nullable warning context is safeonly. |
Warnings | 2 | Nullable annotation context is disabled and the nullable warning context is enabled. |
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