SPSolutionValidatorCollection.Add Method
Inserts a solution validator after all existing solution validators if it does not exist.
Namespace: Microsoft.SharePoint.UserCode
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overrides Function Add ( _
validator As SPSolutionValidator _
) As SPSolutionValidator
'Usage
Dim instance As SPSolutionValidatorCollection
Dim validator As SPSolutionValidator
Dim returnValue As SPSolutionValidator
returnValue = instance.Add(validator)
public override SPSolutionValidator Add(
SPSolutionValidator validator
)
Parameters
validator
Type: Microsoft.SharePoint.UserCode.SPSolutionValidatorAn instance of SPSolutionValidator to be inserted.
Return Value
Type: Microsoft.SharePoint.UserCode.SPSolutionValidator
Returns SPSolutionValidator.
See Also
Reference
SPSolutionValidatorCollection Class