Eplan Platform API
Eplan.EplApi.DataModel Namespace / PropertyValue Class / Indexes Property
Example

In This Topic
    Indexes Property (PropertyValue)
    In This Topic
    Returns valid indexes. It can be used with PropertyValue::operator [];
    Syntax
    public int[] Indexes {get;}
    public:
    property array<int>^ Indexes {
       array<int>^ get();
    }
    Example
    PropertyValue oProperty = m_oTestProject.Pages[0].Functions[0].Properties[ FUNC_INDEXED_PROPERTY ];
    if(oProperty.IsIndexed)
    {
    foreach ( int index in oProperty.Indexes )
    {
    	PropertyValue oPropertyElement = oProperty[ index ];
    	string sProperty = oPropertyElement.ToString();
    }
    }
    See Also