WebPartConnectionCollection.IndexOf(WebPartConnection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines the index of the specified WebPartConnection object in the collection.
public:
int IndexOf(System::Web::UI::WebControls::WebParts::WebPartConnection ^ value);
public int IndexOf (System.Web.UI.WebControls.WebParts.WebPartConnection value);
member this.IndexOf : System.Web.UI.WebControls.WebParts.WebPartConnection -> int
Public Function IndexOf (value As WebPartConnection) As Integer
Parameters
- value
- WebPartConnection
The WebPartConnection to determine the index of.
Returns
The zero-based index of the first occurrence of value
within the collection, if found; otherwise, -1.
Remarks
Use this method to determine the index of the specified WebPartConnection object in the collection.