SPUserCustomAction.Validate 方法

在执行之前保存的自定义操作的验证。

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

语法

声明
Protected Overridable Function Validate As String
用法
Dim returnValue As String

returnValue = Me.Validate()
protected virtual string Validate()

返回值

类型:System.String
一个字符串,包含自定义操作的 XML 表示形式。

异常

异常 条件
ArgumentException

IdScope属性的值是无效的。

SPException

Location属性的值为 null 或空。

另请参阅

引用

SPUserCustomAction 类

SPUserCustomAction 成员

Microsoft.SharePoint 命名空间