SPPersistedObject.Clone method

Returns a clone of the object that does not come from the in-memory cache, which enables calling code to help ensure thread safety.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function Clone As Object
'Usage
Dim instance As SPPersistedObject
Dim returnValue As Object

returnValue = instance.Clone()
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public Object Clone()

Return value

Type: System.Object
An object that provides a copy of the current persisted object.

Implements

ICloneable.Clone()

See also

Reference

SPPersistedObject class

SPPersistedObject members

Microsoft.SharePoint.Administration namespace