DependencyCollection.IndexOf Method (DependencyCollectionNode)


Returns the index value of the DependencyCollectionNode object within the DependencyCollection object.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public int IndexOf(
	DependencyCollectionNode dependencyCollectionNode


Type: Microsoft.SqlServer.Management.Smo.DependencyCollectionNode

A DependencyCollectionNode object that specifies the member for which the index value is required.

Return Value

Type: System.Int32

An Int32 value that specifies the index position of the specified object in the collection.

Return to top