You are here: Symbol Reference
Symbol Reference
> Ofcas.Lk.Api.Client.Ui Namespace > Classes > PhaseUi Class > PhaseUi Methods > CopyFrom Method > PhaseUi.CopyFrom Method (ICoreInfo, Dictionary<string, object>)
PhaseUi.CopyFrom Method (ICoreInfo, Dictionary<string, object>)
Close
Ofcas.Lk.Api.Client - Version 3.0
PhaseUi.CopyFrom Method (ICoreInfo, Dictionary<string, object>)

Copies an object with user interaction into this phase based on an info object.

Syntax
C#
public ElevationInfo CopyFrom(ICoreInfo coreInfo, Dictionary<string, object> parameters);
Parameters
Description
ICoreInfo coreInfo
The info of the object to be copied.
Dictionary<string, object> parameters
A Object} containing additional parameters. See also WellKnownParameterKeys.Phase.

Returns an info object of the copied / created elevation. In case of the dialog was aborted, the returned value is 'null'.

Exceptions
Description
ArgumentException
Thrown when core info is not of the right type.
ArgumentNullException
Thrown when core info is null.
Copyright © 2020. All rights reserved.