Click or drag to resize

NotNullAttribute Class

Indicates that the value of the marked element could never be null
Inheritance Hierarchy
SystemObject
  SystemAttribute
    Ozeki.CommonNotNullAttribute

Namespace:  Ozeki.Common
Assembly:  OzekiSDK (in OzekiSDK.dll) Version: 10.3.183.0
Syntax
public sealed class NotNullAttribute : Attribute

The NotNullAttribute type exposes the following members.

Constructors
  NameDescription
Public methodNotNullAttribute
Initializes a new instance of the NotNullAttribute class
Top
Examples
[NotNull] public object Foo() {
  return null; // Warning: Possible 'null' assignment
}
See Also