SPSolutionValidatorCollection.Insert method
Inserts a solution validator at the specified index location if it does not exist.
Namespace: Microsoft.SharePoint.UserCode
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub Insert ( _
validator As SPSolutionValidator, _
index As Integer _
)
'Usage
Dim instance As SPSolutionValidatorCollection
Dim validator As SPSolutionValidator
Dim index As Integer
instance.Insert(validator, index)
public void Insert(
SPSolutionValidator validator,
int index
)
Parameters
validator
Type: Microsoft.SharePoint.UserCode.SPSolutionValidatorAn instance of SPSolutionValidator to be inserted.
index
Type: System.Int32The zero-based location to insert.
See also
Reference
SPSolutionValidatorCollection class