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

ICloneable.Clone()

Remarks

This implementation of Clone creates a shallow copy.

See Also

Reference

EntityRef<TEntity> Class

EntityRef<TEntity> Members

Microsoft.SharePoint.Linq Namespace