Name
Missing
Synopsis
Because C# (as well as some other languages) does not allow optional
parameters, Missing
allows
those languages to pass this value to indicate that a value will
not be specified for those optional parameters. The only way to
access an instance of this class — there can only be one — is by the
return value of the shared field, called Value
.
Public NotInheritable Class Missing ' Public Shared Fields Public Shared ReadOnly Value As Missing // =System.Reflection.Missing End Class
Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.