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.4.54.0
Syntax
public sealed class NotNullAttribute : Attribute

The NotNullAttribute type exposes the following members.

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