Defines function signature for creating new IChannelCell objects.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public delegate T CreateNewCellFunction<T>( IChannelFrame parent, IChannelFrameParsingState<T> state, int index, byte[] binaryImage, int startIndex, out int parsedLength ) where T : IChannelCell
Public Delegate Function CreateNewCellFunction(Of T As IChannelCell) ( _ parent As IChannelFrame, _ state As IChannelFrameParsingState(Of T), _ index As Integer, _ binaryImage As Byte(), _ startIndex As Integer, _ <OutAttribute> ByRef parsedLength As Integer _ ) As T
generic<typename T> where T : IChannelCell public delegate T CreateNewCellFunction( IChannelFrame^ parent, IChannelFrameParsingState<T>^ state, int index, array<unsigned char>^ binaryImage, int startIndex, [OutAttribute] int% parsedLength )
Generic Template Parameters
- T
- Specific IChannelCell type of object that gets created by referenced function.
Parameters
- parent (IChannelFrame)
- Reference to parent IChannelFrame.
- state (IChannelFrameParsingState<(Of <(<'T>)>)>)
- Current parsing state of associated IChannelFrame.
- index (Int32)
- Index of cell within its collection.
- binaryImage (array<Byte>[]()[][])
- Binary image to parse IChannelCell from.
- startIndex (Int32)
- Start index into binaryImage to begin parsing.
- parsedLength (Int32%)
- Returns the total number of bytes parsed from binaryImage.
Return Value
New IChannelCell object.