Cuminas DjVu SDK for .NET Framework
IndexOf Method (Chunk)



Chunk to find.
Finds the chunk and returns the index.
Syntax
Public Overridable Function IndexOf( _
   ByVal chunk As Chunk _
) As Integer
Dim instance As Chunk
Dim chunk As Chunk
Dim value As Integer
 
value = instance.IndexOf(chunk)
public virtual int IndexOf( 
   Chunk chunk
)
public:
virtual int IndexOf( 
   Chunk^ chunk
) 

Parameters

chunk
Chunk to find.

Return Value

Index of the chunk. If the chunk is not found, the method returns -1.
Remarks
If this chunk is not a collection chunk, this method throws an exception. To determine whether the chunk is a collection or not, use IsCollection Property.
Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Reference

Chunk Class
Chunk Members

Send Feedback