DiscardableAttribute Constructor ()

 

Initializes a new instance of the DiscardableAttribute class with default values.

Namespace:   System.Runtime.CompilerServices
Assembly:  mscorlib (in mscorlib.dll)

public:
DiscardableAttribute()

The following code example demonstrates how to apply the DiscardableAttribute attribute to a type.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: