RingSoft.DbLookup.Controls.WPF.Properties Namespace
RingSoft.DbMaintenance Namespace

NotNullAttribute Class

Indicates that the value of the marked element can never be null.

Namespace:  RingSoft.DbLookup.Controls.WPF.Properties
Assembly:  RingSoft.DbLookup.Controls.WPF (in RingSoft.DbLookup.Controls.WPF.dll)

Syntax


[AttributeUsageAttribute]
public sealed class NotNullAttribute : Attribute
<AttributeUsageAttribute> _
Public NotInheritable Class NotNullAttribute _
	Inherits Attribute
[AttributeUsageAttribute]
public ref class NotNullAttribute sealed : public Attribute

Examples


C#
[NotNull] object Foo() {
return null; // Warning: Possible 'null' assignment
}

Inheritance Hierarchy


Object
  Attribute
    RingSoft.DbLookup.Controls.WPF.Properties..::..NotNullAttribute