Returns the index within the collection of the element.
'Declaration
Public Function IndexOf( _
ByVal As RtfObject _
) As System.Integer
public System.int IndexOf(
RtfObject
)
Parameters
- obj
- The object for the Word/RTF document.
Return Value
The zero-based index of the first occurrence of element, if found, otherwise, -1.