System.Object
Eplan.EplApi.DataModel.UniversalPropertyList
Eplan.EplApi.DataModel.StorableObjectPropertyList
System.Object
Eplan.EplApi.DataModel.UniversalPropertyList
Eplan.EplApi.DataModel.StorableObjectPropertyList
[DefaultMember("Property")] public class UniversalPropertyList
[DefaultMember("Property")] public ref class UniversalPropertyList
online
or offline
. If property list is online
it means that is associated with properties of some StorableObject or other property list. In this case if any property is added, changed or removed from property list the result is also visible in related objects. Whether property list is online or offline is being determine in time of it's creation and can not be changed.//creation of online property list FunctionPropertyList oPropertyListOnline1 = oFunction.Properties; oPropertyListOnline1.FUNC_COMMENT = "Comment"; //now oFunction.Properties.FUNC_COMMENT is equal "Comment" FunctionPropertyList oPropertyLineOnline2 = new FunctionPropertyList(oFunction); oPropertyLineOnline2.FUNC_COMMENT = "Test"; //now oFunction.Properties.FUNC_COMMENT is equal "Test" //creation of offline property list FunctionPropertyList oPropertyLineOffline = new FunctionPropertyList(); oPropertyLineOffline.FUNC_COMMENT = "Test comment"; oFunction.Properties.FUNC_COMMENT = oPropertyLineOffline.FUNC_COMMENT; oPropertyLineOffline.FUNC_COMMENT = "Offline comment"; //now oPropertyLineOffline.FUNC_COMMENT is equal "Test comment"
Name | Description | |
---|---|---|
UniversalPropertyList Constructor | This constructor creates local property list. Each function of UniversalPropertyList will work on local property list. |
Name | Description | |
---|---|---|
ExistingIds | Returns array of property ids. Returns array of AnyPropertyId objects. | |
ExistingValues | Returns array of PropertyValue objects. | |
Parent | StorableObject to which this property list is connected. | |
Property | Overloaded. Method used by operator[] in order to access indexed properties by identifying name. |
Name | Description | |
---|---|---|
CopyTo | Overloaded. Copies properties to other property list. | |
Dispose | Destructor for deterministic finalization of UniversalPropertyList object. | |
Exists | Overloaded. Checks property existence for used object. | |
getPropList | Internal method. |