Share via


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

  • index
    Type: System.Int32

    The zero-based location to insert.

See also

Reference

SPSolutionValidatorCollection class

SPSolutionValidatorCollection members

Microsoft.SharePoint.UserCode namespace