Condividi tramite


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

  • index
    Type: System.Int32

    The zero-based location to insert.

See Also

Reference

SPSolutionValidatorCollection Class

SPSolutionValidatorCollection Members

Microsoft.SharePoint.UserCode Namespace