SPPersistedObject.Validate method
驗證的所有欄位的狀態之前保存物件。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Protected Overridable Sub Validate
'用途
Me.Validate()
protected virtual void Validate()
備註
如果刪除的物件,就會擲回InvalidOperationException 。