Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines the index of the specified SPWebPartConnection in the SPWWebPartConnectionCollection collection.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Function IndexOf ( _
value As SPWebPartConnection _
) As Integer
'Usage
Dim instance As SPWebPartConnectionCollection
Dim value As SPWebPartConnection
Dim returnValue As Integer
returnValue = instance.IndexOf(value)
public int IndexOf(
SPWebPartConnection value
)
Parameters
value
Type: Microsoft.SharePoint.WebPartPages.SPWebPartConnectionThe connection to determine the index of the specified SPWebPartConnection in the SPWebPartConnectionCollection.
Return Value
Type: System.Int32
The zero-based index of the first occurrence of the value within the entire SPWebPartConnectionCollection if found; otherwise, -1.
Remarks
Use this method to determine the index of the specified SPWebPartConnection in the SPWebPartConnectionCollection collection.
See Also
Reference
SPWebPartConnectionCollection Class