ReadOnlyAttribute::IsDefaultAttribute Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Determines if this attribute is the default.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

virtual bool IsDefaultAttribute() override

Return Value

Type: System::Boolean

true if the attribute is the default value for this attribute class; otherwise, false.

.NET Framework
Available since 1.1
Return to top