| 
DocumentObjectCollection
IndexOf Method
  | 
 Returns the zero-based index of the specified entity.
 Namespace:
 Spire.Doc.Collections
 Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
 Syntax
Syntax
 
 
public int IndexOf(
	IDocumentObject entity
)
 
Public Function IndexOf ( 
	entity As IDocumentObject
) As Integer
 
public:
int IndexOf(
	IDocumentObject^ entity
)
 
member IndexOf : 
entity : IDocumentObject -> int 
 
 
 
Parameters
 
- 
entity
 
- 
 Type:
 
Spire.Doc.Interface
IDocumentObject
 
 the document object.
Return Value
 
 Type:
 
Int32
 
 
 See Also
See Also