Edit

Share via


CopyContext.TryGetCopy<T>(Object, T) Method

Definition

Returns the previously recorded copy of the provided object, if it exists.

public bool TryGetCopy<T> (object original, out T result) where T : class;
member this.TryGetCopy : obj * 'T -> bool (requires 'T : null)
Public Function TryGetCopy(Of T As Class) (original As Object, ByRef result As T) As Boolean

Type Parameters

T

The object type.

Parameters

original
Object

The original object.

result
T

The previously recorded copy of original.

Returns

true if a copy of original has been recorded, false otherwise.

Applies to