UserCustomActionCollection.Clear 方法

Deletes all custom actions in the collection.

命名空间:  Microsoft.SharePoint.Client
程序集:   Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)

语法

声明
Public Sub Clear
用法
Dim instance As UserCustomActionCollection

instance.Clear()
public void Clear()

异常

异常 条件
[Microsoft.SharePoint.SPException]

Custom action does not exist. Error code: -2146232832.

[Microsoft.SharePoint.SPException]

Custom action was modified on the server so changes cannot be committed. Error code: -2130575305.

[System.UnauthorizedAccessException]

The current user has insufficient permissions. Error code: -2147024891.

另请参阅

引用

UserCustomActionCollection 类

UserCustomActionCollection 成员

Microsoft.SharePoint.Client 命名空间