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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online


<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function Clone As Object
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.



See Also


SPPersistedObject Class

SPPersistedObject Members

Microsoft.SharePoint.Administration Namespace