Eplan Platform API
Eplan.EplApi.DataModel.Planning Namespace / SegmentDefinitionPropertyList Class
Members Example

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

    System.Object
       Eplan.EplApi.DataModel.UniversalPropertyList
          Eplan.EplApi.DataModel.StorableObjectPropertyList
             Eplan.EplApi.DataModel.Planning.SegmentDefinitionPropertyList

    Syntax
    [DefaultMember("Property")]
    public class SegmentDefinitionPropertyList : Eplan.EplApi.DataModel.StorableObjectPropertyList 
    [DefaultMember("Property")]
    public ref class SegmentDefinitionPropertyList : public Eplan.EplApi.DataModel.StorableObjectPropertyList 
    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 PropertySegment definition: Preceding sign also at the beginning # 44046.  
    Public PropertyDisplay format: Segment name # 44002.  
    Public PropertySegment definition: Displayed name # 44003.  
    Public PropertyStructure identifiers without separators # 44033.  
    Public PropertySegment definition: No blank space before the number # 44091.  
    Public PropertySegment definition: Preceding sign # 44045.  
    Public PropertySegment definition: Separator symbolic address # 44090.  
    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 PropertyBlock property: Format # 20202.  
    Public PropertyTrade # 20466.  
    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 PropertyOverloaded. Object identification # 2000. (Inherited from Eplan.EplApi.DataModel.StorableObjectPropertyList)
    Public PropertyChange protection # 3014.  
    Public PropertyChange protection (hierarchical) # 3015.  
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Copies properties to other property list. (Inherited from Eplan.EplApi.DataModel.UniversalPropertyList)
    Public MethodDestructor for deterministic finalization of SegmentDefinitionPropertyList 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