You are here: Symbol Reference
Symbol Reference
> Ofcas.Lk.Api.Client.Core Namespace > Interfaces > IProject Interface
> IProject Methods > CanEditElevations Method > IProject.CanEditElevations Method (string, IEnumerable<IElevationInfo>, object)
IProject.CanEditElevations Method (string, IEnumerable<IElevationInfo>, object)
Close
Ofcas.Lk.Api.Client - Version 3.0.2
IProject.CanEditElevations Method (string, IEnumerable<IElevationInfo>, object)

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

Syntax
C#
IOperationInfo CanEditElevations(string key, IEnumerable<IElevationInfo> elevationInfos, object value);
Parameters
Description
string key
The key of the value to be edited. See WellKnownEditKeys.Elevation for all available edit keys. The key WellKnownEditKeys.Elevation.Name is not supported.
IEnumerable<IElevationInfo> elevationInfos
A list of elevations to be edited.
object value
Applies the same value to all given elevationInfos.

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

Copyright © 2022. All rights reserved.