You are here: Symbol Reference
Symbol Reference
> Ofcas.Lk.Api.Client.Ui Namespace > Classes > ProjectUi Class > ProjectUi Methods > CanEditElevations Method > ProjectUi.CanEditElevations Method (string, IEnumerable<IElevationInfo>, IEnumerable<object>)
ProjectUi.CanEditElevations Method (string, IEnumerable<IElevationInfo>, IEnumerable<object>)
Close
Ofcas.Lk.Api.Client - Version 3.0
ProjectUi.CanEditElevations Method (string, IEnumerable<IElevationInfo>, IEnumerable<object>)

Checks whether the given elevations can be edited or not using the same key and a separate value for each elevation.

Syntax
C#
public new IOperationInfo CanEditElevations(string key, IEnumerable<IElevationInfo> elevationInfos, IEnumerable<object> values);
Parameters
Description
IEnumerable<IElevationInfo> elevationInfos
A list of elevations to be edited.
IEnumerable<object> values
The values that are being applied to the given elevations. The amount of values has to be the same as the elevationInfos. A given value is applied to the elevation in the elevationInfos list with the same index.

Returns an IOperationInfo that is empty when the elevations can be edited, otherwise containing reasons why the elevations cannot be edited.

Copyright © 2020. All rights reserved.