Eplan Platform API
Eplan.EplApi.DataModel Namespace / UniversalPropertyList Class / Property Property / Property(AnyPropertyId) Property

In This Topic
    Property(AnyPropertyId) Property
    In This Topic
    Method used by operator[] in order to access properties by AnyPropertyId.
    Syntax
    public PropertyValue Property( 
       AnyPropertyId propertyId
    ) {get; set;}
    public:
    property PropertyValue^ Property {
       PropertyValue^ get(AnyPropertyId^ propertyId);
       void set (AnyPropertyId^ propertyId, PropertyValue^ value);
    }

    Parameters

    propertyId

    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
    Remarks
    To check if property with given id can be set on this property list please check it using Exists(AnyPropertyId) method.
    See Also