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.