Eplan Platform API
Eplan.EplApi.MasterData Namespace / MDPropertyDefinition.MDPropertyType Enumeration
Example Example

In This Topic
    MDPropertyDefinition.MDPropertyType Enumeration
    In This Topic
    Types of stored values
    Syntax
    public enum MDPropertyDefinition.MDPropertyType : System.Enum 
    public enum class MDPropertyDefinition.MDPropertyType : public System.Enum 
    Members
    MemberValueDescription
    Bool1Boolean type contain true or false
    Double6Floating type value
    Long4Long numeric value
    MultilangString15Multi language string Eplan.EplApi.Base.MultiLangString
    Point13Point
    String7Unicode-String
    Time14Time value
    Undefined0Type not defined
    ValueWithUnit26Value with unit
    Example
    When setting properties of type Double as string, e.g.
    MDPart oPart = m_MDPartsDatabase.Parts[0];
    oPart.Properties[Eplan.EplApi.MasterData.Properties.MDPartsDatabaseItem.ARTICLE_HEIGHT] = "2.5";
    //... the current culture is not considered. You always have to
    //us a '.' as decimal separator.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             Eplan.EplApi.MasterData.MDPropertyDefinition.MDPropertyType

    See Also