SPUserCustomAction.Validate method
Performs validation of the custom action prior to saving it.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Protected Overridable Function Validate As String
'Usage
Dim returnValue As String
returnValue = Me.Validate()
protected virtual string Validate()
Return value
Type: System.String
A string that contains the XML representation of the custom action.
Exceptions
Exception | Condition |
---|---|
ArgumentException | |
SPException | The value of the Location property is null or empty. |