共用方式為


SPPersistedObject.WasCreated property

取得 Boolean 值,指出物件是否已初始化,以及是否可以在資料庫中找到。

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

Syntax

'宣告
Protected Friend ReadOnly Property WasCreated As Boolean
    Get
'用途
Dim value As Boolean

value = Me.WasCreated
protected internal bool WasCreated { get; }

Property value

Type: System.Boolean
true若物件已初始化,且已在資料庫 ;否則false。

請參閱

參照

SPPersistedObject class

SPPersistedObject members

Microsoft.SharePoint.Administration namespace