Share via


RelatedDocDataCollection.IndexOf(DocData) Method

Definition

Gets the index of a specified document data object in the collection.

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

Parameters

value
DocData

The document data object to find.

Returns

The index of the document data object, or -1 if it was not found.

Applies to