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)
Available in Sandboxed Solutions: No
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