ICanvasStateService<TState>.CreateCopy(TState) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
A new canvas state instance that is a copy of the prototype.