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

声明
Public Function IndexOf ( _
    value As DocData _
) As Integer
用法
Dim instance As RelatedDocDataCollection
Dim value As DocData
Dim returnValue As Integer

returnValue = instance.IndexOf(value)
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: System.Int32
The index of the document data object, or -1 if it was not found.

.NET Framework Security

See Also

Reference

RelatedDocDataCollection Class

RelatedDocDataCollection Members

Microsoft.VisualStudio.Shell.Design.Serialization Namespace