DependencyCollection.IndexOf 方法
Returns the index value of the DependencyCollectionNode object within the DependencyCollection object.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Function IndexOf ( _
dependencyCollectionNode As DependencyCollectionNode _
) As Integer
'用途
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
參數
- dependencyCollectionNode
型別:Microsoft.SqlServer.Management.Smo.DependencyCollectionNode
A DependencyCollectionNode object that specifies the member for which the index value is required.
傳回值
型別:System.Int32
An Int32 value that specifies the index position of the specified object in the collection.