Class RequiredAttribute
An attribute that indicates a required property. When persisting, the Realm will validate that the value of the property is not null.
Inherited Members
System.Attribute.System.Runtime.InteropServices._Attribute.GetTypeInfoCount(System.UInt32)
System.Attribute.System.Runtime.InteropServices._Attribute.GetTypeInfo(System.UInt32, System.UInt32, System.IntPtr)
System.Attribute.System.Runtime.InteropServices._Attribute.GetIDsOfNames(System.Guid, System.IntPtr, System.UInt32, System.UInt32, System.IntPtr)
System.Attribute.System.Runtime.InteropServices._Attribute.Invoke(System.UInt32, System.Guid, System.UInt32, System.Int16, System.IntPtr, System.IntPtr, System.IntPtr, System.IntPtr)
Namespace:Realms
Assembly:Realm.dll
Syntax
[AttributeUsage(AttributeTargets.Property)]
public class RequiredAttribute : Attribute, _Attribute
Constructors
| Improve this Doc View SourceRequiredAttribute()
Initializes a new instance of the RequiredAttribute class.
Declaration
public RequiredAttribute()