Delen via


DependencyCollection.Insert Method

Inserts a DependencyCollectionNode object at the specified index position in the DependencyCollection object.

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

Syntax

'Declaration
Public Sub Insert ( _
    index As Integer, _
    dependencyCollectionNode As DependencyCollectionNode _
)
'Usage
Dim instance As DependencyCollection
Dim index As Integer
Dim dependencyCollectionNode As DependencyCollectionNode

instance.Insert(index, dependencyCollectionNode)
public void Insert(
    int index,
    DependencyCollectionNode dependencyCollectionNode
)
public:
virtual void Insert(
    int index, 
    DependencyCollectionNode^ dependencyCollectionNode
) sealed
abstract Insert : 
        index:int * 
        dependencyCollectionNode:DependencyCollectionNode -> unit 
override Insert : 
        index:int * 
        dependencyCollectionNode:DependencyCollectionNode -> unit 
public final function Insert(
    index : int, 
    dependencyCollectionNode : DependencyCollectionNode
)

Parameters

Implements

IList<T>.Insert(Int32, T)

Examples

Scripting