Eplan Platform API
Eplan.EplApi.DataModel Namespace / UniversalPropertyList Class / Property Property / Property(AnyPropertyId,Int32) Property
Index of the property

In This Topic
    Property(AnyPropertyId,Int32) Property
    In This Topic
    Method used by operator[] in order to access indexed properties by AnyPropertyId.
    Syntax
    public PropertyValue Property( 
       AnyPropertyId propertyId,
       int index
    ) {get; set;}

    Parameters

    propertyId
    index
    Index of the property

    Property Value

    PropertyValue Object that automatically converts into common used types.
    Exceptions
    ExceptionDescription
    Thrown in case of an external error. Please refer to the exception message.
    PropertyNotFoundException
    InvalidIndexException
    SettingValueFailedException
    Remarks
    To check if property with given id can be set on this property list please check it using Exists(AnyPropertyId) method.
    See Also