Share via


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)

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

Return value

Type: Microsoft.SharePoint.UserCode.SPSolutionValidator
Returns SPSolutionValidator.

See also

Reference

SPSolutionValidatorCollection class

SPSolutionValidatorCollection members

Microsoft.SharePoint.UserCode namespace