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
- 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.