RelatedDocDataCollection.IndexOf(DocData) 方法

定义

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

public:
 int IndexOf(Microsoft::VisualStudio::Shell::Design::Serialization::DocData ^ value);
public int IndexOf (Microsoft.VisualStudio.Shell.Design.Serialization.DocData value);
member this.IndexOf : Microsoft.VisualStudio.Shell.Design.Serialization.DocData -> int
Public Function IndexOf (value As DocData) As Integer

参数

value
DocData

要查找的文档数据对象。

返回

Int32

文档数据对象的索引; 如果未找到该对象,则为-1。

适用于