Compartir a través de


RelatedDocDataCollection.IndexOf Method

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)

Syntax

'Declaration
Public Function IndexOf ( _
    value As DocData _
) As Integer
public int IndexOf(
    DocData value
)
public:
int IndexOf(
    DocData^ value
)
member IndexOf : 
        value:DocData -> int
public function IndexOf(
    value : DocData
) : int

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

RelatedDocDataCollection Class

Microsoft.VisualStudio.Shell.Design.Serialization Namespace