Share via


EntitySet<TEntity>.Clone method

Creates a shallow copy of the EntitySet<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 EntitySet
Dim returnValue As Object

returnValue = instance.Clone()
public Object Clone()

Return value

Type: System.Object
A Object (castable EntitySet<TEntity>) whose property values refer to the same objects as the property values of this EntitySet<TEntity>.

Implements

ICloneable.Clone()

Remarks

This implementation of Clone creates a shallow copy.

See also

Reference

EntitySet<TEntity> class

EntitySet<TEntity> members

Microsoft.SharePoint.Linq namespace