Indicates that the value of the marked element could never be null
Inheritance HierarchySystemObject
SystemAttribute
Ozeki.CommonNotNullAttribute
Namespace: Ozeki.CommonAssembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.54.0
Syntaxpublic sealed class NotNullAttribute : Attribute
Public NotInheritable Class NotNullAttribute
Inherits Attribute
public ref class NotNullAttribute sealed : public Attribute
[<SealedAttribute>]
type NotNullAttribute =
class
inherit Attribute
end
The NotNullAttribute type exposes the following members.
Constructors
Example[NotNull] public object Foo() {
return null;
}
See Also