Click or drag to resize

PropertyAttrs Enumeration

Property.Attributes values

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
[FlagsAttribute]
public enum PropertyAttrs
Members
  Member nameValueDescription
Writeable1 The property is writeable. If you don't set this property, the Property.Value setter has no effect.
IsDirty2 The property is dirty. This bit is set internally when the value changes.
FromStorage4 The property was loaded from storage (xmt_properties, most likely).
Persist8 This property should be persisted to storage.
ToRemove16 This property should should be removed when RemoveMarked is called.
SessionPersist32 This value should be persisted across session timeouts.
GenEmbeddedFunc64 Automatically generate a corresponding embedded function for this property. Any change to the property value will regenerate the function. This attribute is only valid on Application properties and ignored elsewhere.
DoNotCopy128 This item should not be copied or cloned when copying or cloning a Properties collection, for example, via Import(Properties, CollectionAddFlags).
CollectionAddFlagsMask268369920 A mask to separate out attributes that map directly to CollectionAddFlags. Bits inside this range must not be used in this enum because they are reserved to CollectionAddFlags whose bits are coordinated with this enum.
AddIfMissing131072 Add property if not already in collection else return the property. Note that if ErrorIfExists is also specified an error will be raised if the item already exists in the collection.
ReplaceIfDiff262144 Add property if not already in collection else set value only if it differs from the existing value. For this comparison both the old (if any) and new values are coerced to a string. Thus, for example, string “3” will match numeric 3.
LogIfExists524288 Add the property per other flags, but log a warning to the devlog if the item is already in the collection. Note that if ErrorIfExists is also specified an error will be raised (after logging) if the item already exists in the collection.
ErrorIfExists1048576 If a property with the same name already exists in collection raise an error. Note that if ReplaceIfDiff is also set, ReplaceIfDiff will be favored.
TreatAsField268435456 Treat the property as if it were a field on the object.
SupportsReferences536870912 This property supports references other items (typically a field referencing another field). Properties so marked allow the parent to honor precedence when appropriate.
IsReference1073741824 This property is a reference to another item (typically a field referencing another field). Properties so marked allow the parent to honor precedence when appropriate.
See Also