Attribute.IsDefaultAttribute Method ()
.NET Framework (current version)
When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
Assembly: mscorlib (in mscorlib.dll)
Return Value
Type: System.Booleantrue if this instance is the default attribute for the class; otherwise, false.
The default implementation of this class returns false, and must be implemented in the derived class to be useful to that class.
The implementation of this method in a derived class compares the value of this instance to a standard default value, then returns a Boolean value that indicates whether the value of this instance is equal to the standard value. The standard value is typically coded as a constant in the implementation, or stored programmatically in a field used by the implementation.
.NET Framework
Available since 1.1
Available since 1.1
Show: