Share via


ICanvasStateService<TState>.CreateCopy(TState) Method

Definition

Creates a copy of an existing canvas state.

public:
 TState CreateCopy(TState prototype);
public TState CreateCopy(TState prototype);
abstract member CreateCopy : 'State -> 'State
Public Function CreateCopy (prototype As TState) As TState

Parameters

prototype
TState

The canvas state to copy.

Returns

TState

A new canvas state instance that is a copy of the prototype.

Applies to