Eplan Platform API
Eplan.EplApi.DataModel Namespace / StorableObjectPropertyList Class
Members Example

In This Topic
    StorableObjectPropertyList Class
    In This Topic
    This class represents a collection of properties of StorableObject class. Please also check the base classes for other properties that are available for StorableObject objects:
    Inheritance Hierarchy

    System.Object
       Eplan.EplApi.DataModel.UniversalPropertyList
          Eplan.EplApi.DataModel.StorableObjectPropertyList
             Eplan.EplApi.DataModel.ArticlePropertyList
             Eplan.EplApi.DataModel.ArticleReferencePropertyList
             Eplan.EplApi.DataModel.ConnectionPointsInfoPropertyList
             Eplan.EplApi.DataModel.ConnectionPropertyList
             Eplan.EplApi.DataModel.DeviceListEntryPropertyList
             Eplan.EplApi.DataModel.E3D.Group3DPropertyList
             Eplan.EplApi.DataModel.E3D.PlaceHolder3DPropertyList
             Eplan.EplApi.DataModel.E3D.Placement3DPropertyList
             Eplan.EplApi.DataModel.FunctionDefinitionPropertyList
             Eplan.EplApi.DataModel.LocationPropertyList
             Eplan.EplApi.DataModel.MasterData.FunctionDefinitionLibraryPropertyList
             Eplan.EplApi.DataModel.MasterData.SymbolLibraryPropertyList
             Eplan.EplApi.DataModel.MasterData.SymbolPropertyList
             Eplan.EplApi.DataModel.MergedArticleReferencePropertyList
             Eplan.EplApi.DataModel.MergedConnectionPropertyList
             Eplan.EplApi.DataModel.MergedFunctionPropertyList
             Eplan.EplApi.DataModel.OptionBasePropertyList
             Eplan.EplApi.DataModel.PlacementPropertyList
             Eplan.EplApi.DataModel.Planning.PlanningSegmentPropertyList
             Eplan.EplApi.DataModel.Planning.SegmentDefinitionPropertyList
             Eplan.EplApi.DataModel.Planning.SegmentTemplatePropertyList
             Eplan.EplApi.DataModel.PlcIOPropertyList
             Eplan.EplApi.DataModel.ProjectPropertyList

    Syntax
    [DefaultMember("Property")]
    public class StorableObjectPropertyList : UniversalPropertyList 
    [DefaultMember("Property")]
    public ref class StorableObjectPropertyList : public UniversalPropertyList 
    Remarks

    It uses the [] operator in order to access its elements (stored properties).

    Property list is a container for property values and just like them can be persistent (also called online) or transient (also called offline). If a property list is persistent, this means that it is associated with the properties of some StorableObject or other property list. If any property is added, changed or removed from the property list in this case, the result is also visible in the related objects. Whether a property list is persistent or transient is determined at the time of its creation and cannot be changed.

    Example
    This example shows the different usage of persistent property lists and transient property lists:
    // Creation of a persistent property list
    FunctionPropertyList oPersistentPropertyList1 = oFunction.Properties;
    oPersistentPropertyList1.FUNC_COMMENT = "Comment";
    // Now, oFunction.Properties.FUNC_COMMENT is equals "Comment"
    
    FunctionPropertyList oPersistentPropertyList2 = new FunctionPropertyList(oFunction);
    oPersistentPropertyList2.FUNC_COMMENT = "Test";
    // Now, oFunction.Properties.FUNC_COMMENT equals "Test"
    
    // Creation of a transient property list
    FunctionPropertyList oTransientPropertyList = new FunctionPropertyList();
    oTransientPropertyList.FUNC_COMMENT = "Test comment";
    oFunction.Properties.FUNC_COMMENT = oTransientPropertyList.FUNC_COMMENT;
    oTransientPropertyList.FUNC_COMMENT = "Transient comment";
    // Now, oTransientPropertyList.FUNC_COMMENT equals "Test comment"
    
    
    Public Constructors
     NameDescription
    Public ConstructorConstructor  
    Top
    Public Properties
     NameDescription
    Public PropertyReturns array of property ids. Returns array of AnyPropertyId objects. (Inherited from Eplan.EplApi.DataModel.UniversalPropertyList)
    Public PropertyReturns array of PropertyValue objects. (Inherited from Eplan.EplApi.DataModel.UniversalPropertyList)
    Public PropertyStorableObject to which this property list is connected. (Inherited from Eplan.EplApi.DataModel.UniversalPropertyList)
    Public PropertyOverloaded. Method used by operator[] in order to access indexed properties.  
    Public PropertyObject identification # 2000.  
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Copies properties to other property list. (Inherited from Eplan.EplApi.DataModel.UniversalPropertyList)
    Public MethodDestructor for deterministic finalization of StorableObjectPropertyList object. (Inherited from Eplan.EplApi.DataModel.UniversalPropertyList)
    Public MethodOverloaded. Checks property existence for used obiect.  
    Public MethodInternal method. (Inherited from Eplan.EplApi.DataModel.UniversalPropertyList)
    Top
    See Also