WasCreated property
Collapse the table of content
Expand the table of content

SPPersistedObject.WasCreated property

Gets a Boolean value that indicates whether the object is initialized and can be found in the database.

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

protected internal bool WasCreated { get; }

Property value

Type: System.Boolean
true if the object was initialized and is in the database; otherwise false.
© 2016 Microsoft