SPWebPartManager.SaveChanges 方法
将更改保存到单个 Web 部件到内容数据库。
命名空间: Microsoft.SharePoint.WebPartPages
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Sub SaveChanges ( _
storageKey As Guid _
)
用法
Dim instance As SPWebPartManager
Dim storageKey As Guid
instance.SaveChanges(storageKey)
public void SaveChanges(
Guid storageKey
)
参数
storageKey
类型:System.Guid若要保存的 Web 部件存储键。
异常
异常 | 条件 |
---|---|
WebPartPageUserException | 为由storageKey指定的 Web 部件不WebParts集合的成员。 |