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