ConsoleNodeCollection.IndexOf Method
Returns the index of the given ConsoleNode object specified by the value parameter.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Function IndexOf ( _
value As ConsoleNode _
) As Integer
'Usage
Dim instance As ConsoleNodeCollection
Dim value As ConsoleNode
Dim returnValue As Integer
returnValue = instance.IndexOf(value)
public int IndexOf(
ConsoleNode value
)
Parameters
- value
Type: Microsoft.SharePoint.Publishing.WebControls.ConsoleNode
The ConsoleNode object whose index in the collection is to be returned.
Return Value
Type: System.Int32