Compartir a través de


IndexOf Método

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Function IndexOf ( _
    dependencyCollectionNode As DependencyCollectionNode _
) As Integer
'Uso
Dim instance As DependencyCollection
Dim dependencyCollectionNode As DependencyCollectionNode
Dim returnValue As Integer

returnValue = instance.IndexOf(dependencyCollectionNode)
public int IndexOf(
    DependencyCollectionNode dependencyCollectionNode
)
public:
virtual int IndexOf(
    DependencyCollectionNode^ dependencyCollectionNode
) sealed
abstract IndexOf : 
        dependencyCollectionNode:DependencyCollectionNode -> int 
override IndexOf : 
        dependencyCollectionNode:DependencyCollectionNode -> int 
public final function IndexOf(
    dependencyCollectionNode : DependencyCollectionNode
) : int

Parámetros

Valor devuelto

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

Implementa

IList< (Of < ( <'T> ) > ) >. . :: . .IndexOf(T)

Ejemplos

Scripting