CopyContext.TryGetCopy<T>(Object, T) 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.
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.