Visual Basic (Declaration) | |
---|---|
Public Delegate Function MrcEnumerateSegmentsInfo( _ ByVal segmentHandle As IntPtr, _ ByVal data As MrcSegmentData, _ ByVal id As Integer _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As New MrcEnumerateSegmentsInfo(AddressOf HandlerMethod) |
C# | |
---|---|
public delegate bool MrcEnumerateSegmentsInfo( IntPtr segmentHandle, MrcSegmentData data, int id ) |
C++/CLI | |
---|---|
public delegate bool MrcEnumerateSegmentsInfo( IntPtr segmentHandle, MrcSegmentData data, int id ) |
Parameters
- segmentHandle
- An Instance of MrcSegmenter class.
- data
- An Instance of MrcSegmentData that you can use to access a variable or structure containing data that your delegate method needs. This gives you a way to receive data indirectly from the method that uses this delegate method.
- id
- ID of the segment being enumerated.
Refer to MrcSegmenter example.
This delegate method is called for each segment enumerated by the MrcSegmenter.EnumerateSegments method. The delegate receives segment data, segment ID and any other associated user data for each segment.
This delegate can be used when performing automatic or manual segmentation.
This delegate can be used when performing automatic or manual segmentation.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7