Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Performs validation of the custom action prior to saving it.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Available in SharePoint Online
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ProtectedMethod)> _
Protected Overridable Function Validate As String
'Usage
Dim returnValue As String
returnValue = Me.Validate()
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.ProtectedMethod)]
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. |