RelatedDocDataCollection::IndexOf Method (DocData^)

 

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

Namespace:   Microsoft.VisualStudio.Shell.Design.Serialization
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

public:
int IndexOf(
	DocData^ value
)

Parameters

value
Type: Microsoft.VisualStudio.Shell.Design.Serialization::DocData^

The document data object to find.

Return Value

Type: System::Int32

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

Return to top
Show: