EntityRef<TEntity>.Clone Method
Creates a shallow copy of the EntityRef<TEntity>.
Namespace: Microsoft.SharePoint.Linq
Assembly: Microsoft.SharePoint.Linq (in Microsoft.SharePoint.Linq.dll)
Syntax
'Declaration
Public Function Clone As Object
'Usage
Dim instance As EntityRef
Dim returnValue As Object
returnValue = instance.Clone()
public Object Clone()
Return Value
Type: System.Object
A Object (castable EntityRef<TEntity>) whose property values refer to the same objects as the property values of this EntityRef<TEntity>.
Implements
Remarks
This implementation of Clone creates a shallow copy.