RelatedDocDataCollection.IndexOf 方法

获取索引指定文档集合中的数据对象。

命名空间:  Microsoft.VisualStudio.Shell.Design.Serialization
程序集:  Microsoft.VisualStudio.Shell.Design(在 Microsoft.VisualStudio.Shell.Design.dll 中)

语法

声明
Public Function IndexOf ( _
    value As DocData _
) As Integer
public int IndexOf(
    DocData value
)

参数

返回值

类型:System.Int32
文档数据对象的索引或 -1; 如果未找到。

.NET Framework 安全性

请参见

参考

RelatedDocDataCollection 类

Microsoft.VisualStudio.Shell.Design.Serialization 命名空间