PropertyValue
Overview
PropertyValue holds information about a property in the property bag. It's used to store data, the get/set method and associated flags.
Location
- Reference: RemObjects.Script.dll
- Namespace: RemObjects.Script.EcmaScript
constructor (PropertyAttributes, EcmaScriptBaseFunctionObject, EcmaScriptBaseFunctionObject)
Creates a new instance of this class with get/set set.
constructor(aAttributes: PropertyAttributes; aGet: EcmaScriptBaseFunctionObject; aSet: EcmaScriptBaseFunctionObject)
PropertyValue(PropertyAttributes aAttributes, EcmaScriptBaseFunctionObject aGet, EcmaScriptBaseFunctionObject aSet)
Sub New(aAttributes As PropertyAttributes, aGet As EcmaScriptBaseFunctionObject, aSet As EcmaScriptBaseFunctionObject)
Parameters:
- aAttributes: Flags
- aGet: getter
- aSet: setter
constructor (PropertyAttributes, Object)
Creates a new instance of this class with get/set set.
constructor(aAttributes: PropertyAttributes; aValue: Object)
PropertyValue(PropertyAttributes aAttributes, Object aValue)
Sub New(aAttributes As PropertyAttributes, aValue As Object)
Parameters:
- aAttributes: Flags
- aValue:
Attributes
Flags of this property. See PropertyAttributes for more info.
property Attributes: PropertyAttributes read write;
PropertyAttributes Attributes { get; set; }
Property Attributes() As PropertyAttributes
Get
Getter method; if set the Value should be nil.
property Get: EcmaScriptBaseFunctionObject read write;
EcmaScriptBaseFunctionObject Get { get; set; }
Property Get() As EcmaScriptBaseFunctionObject
NotAllFlags
creates a (data) property instance that has PropertyAttributes.None.
class method NotAllFlags(aValue: Object): PropertyValue
static PropertyValue NotAllFlags(Object aValue)
Shared Function NotAllFlags(aValue As Object) As PropertyValue
Parameters:
- aValue:
NotDeleteAndReadOnly
creates a (data) property instance that has PropertyAttributes.Enumerable.
class method NotDeleteAndReadOnly(aValue: Object): PropertyValue
static PropertyValue NotDeleteAndReadOnly(Object aValue)
Shared Function NotDeleteAndReadOnly(aValue As Object) As PropertyValue
Parameters:
- aValue:
NotEnum
creates a (data) property instance that has PropertyAttributes.Configurable or PropertyAttributes.Writable.
class method NotEnum(aValue: Object): PropertyValue
static PropertyValue NotEnum(Object aValue)
Shared Function NotEnum(aValue As Object) As PropertyValue
Parameters:
- aValue:
Set
Setter method; if set the Value should be nil.
property Set: EcmaScriptBaseFunctionObject read write;
EcmaScriptBaseFunctionObject Set { get; set; }
Property Set() As EcmaScriptBaseFunctionObject
Value
Value, if set Get and Set should be nil.
property Value: Object read write;
Object Value { get; set; }
Property Value() As Object
Attributes
Flags of this property. See PropertyAttributes for more info.
property Attributes: PropertyAttributes read write;
PropertyAttributes Attributes { get; set; }
Property Attributes() As PropertyAttributes
Get
Getter method; if set the Value should be nil.
property Get: EcmaScriptBaseFunctionObject read write;
EcmaScriptBaseFunctionObject Get { get; set; }
Property Get() As EcmaScriptBaseFunctionObject
Set
Setter method; if set the Value should be nil.
property Set: EcmaScriptBaseFunctionObject read write;
EcmaScriptBaseFunctionObject Set { get; set; }
Property Set() As EcmaScriptBaseFunctionObject
Value
Value, if set Get and Set should be nil.
property Value: Object read write;
Object Value { get; set; }
Property Value() As Object
NotAllFlags
creates a (data) property instance that has PropertyAttributes.None.
class method NotAllFlags(aValue: Object): PropertyValue
static PropertyValue NotAllFlags(Object aValue)
Shared Function NotAllFlags(aValue As Object) As PropertyValue
Parameters:
- aValue:
NotDeleteAndReadOnly
creates a (data) property instance that has PropertyAttributes.Enumerable.
class method NotDeleteAndReadOnly(aValue: Object): PropertyValue
static PropertyValue NotDeleteAndReadOnly(Object aValue)
Shared Function NotDeleteAndReadOnly(aValue As Object) As PropertyValue
Parameters:
- aValue:
NotEnum
creates a (data) property instance that has PropertyAttributes.Configurable or PropertyAttributes.Writable.
class method NotEnum(aValue: Object): PropertyValue
static PropertyValue NotEnum(Object aValue)
Shared Function NotEnum(aValue As Object) As PropertyValue
Parameters:
- aValue:
constructor (PropertyAttributes, EcmaScriptBaseFunctionObject, EcmaScriptBaseFunctionObject)
Creates a new instance of this class with get/set set.
constructor(aAttributes: PropertyAttributes; aGet: EcmaScriptBaseFunctionObject; aSet: EcmaScriptBaseFunctionObject)
PropertyValue(PropertyAttributes aAttributes, EcmaScriptBaseFunctionObject aGet, EcmaScriptBaseFunctionObject aSet)
Sub New(aAttributes As PropertyAttributes, aGet As EcmaScriptBaseFunctionObject, aSet As EcmaScriptBaseFunctionObject)
Parameters:
- aAttributes: Flags
- aGet: getter
- aSet: setter
constructor (PropertyAttributes, Object)
Creates a new instance of this class with get/set set.
constructor(aAttributes: PropertyAttributes; aValue: Object)
PropertyValue(PropertyAttributes aAttributes, Object aValue)
Sub New(aAttributes As PropertyAttributes, aValue As Object)
Parameters:
- aAttributes: Flags
- aValue: