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
<FlagsAttribute>
Public Enumeration PropertyAttrs
Members
| Member name | Value | Description |
---|
| Writeable | 1 |
The property is writeable. If you don't set this property, the Property.Value setter has no effect.
|
| IsDirty | 2 |
The property is dirty. This bit is set internally when the value changes.
|
| FromStorage | 4 |
The property was loaded from storage (xmt_properties, most likely).
|
| Persist | 8 |
This property should be persisted to storage.
|
| ToRemove | 16 |
This property should should be removed when RemoveMarked is called.
|
| SessionPersist | 32 |
This value should be persisted across session timeouts.
|
| GenEmbeddedFunc | 64 |
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.
|
| DoNotCopy | 128 |
This item should not be copied or cloned when copying or cloning a Properties collection,
for example, via Import(Properties, CollectionAddFlags).
|
| CollectionAddFlagsMask | 268369920 |
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.
|
| AddIfMissing | 131072 |
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.
|
| ReplaceIfDiff | 262144 |
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.
|
| LogIfExists | 524288 |
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.
|
| ErrorIfExists | 1048576 |
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.
|
| TreatAsField | 268435456 |
Treat the property as if it were a field on the object.
|
| SupportsReferences | 536870912 |
This property supports references other items (typically a field referencing another field).
Properties so marked allow the parent to honor precedence when appropriate.
|
| IsReference | 1073741824 |
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