DiscardableAttribute Constructor ()
.NET Framework (current version)
Initializes a new instance of the DiscardableAttribute class with default values.
Assembly: mscorlib (in mscorlib.dll)
The following code example demonstrates how to apply the DiscardableAttribute attribute to a type.
.NET Framework
Available since 1.1
Available since 1.1
Show: