Platform SDK: DirectX

DirectMusicSegment.GetRepeats

The DirectMusicSegment.GetRepeats method retrieves the number of times that the looping portion of a segment is set to repeat.

object.GetRepeats() As Long

Parameters

object
Object expression that resolves to a DirectMusicSegment object.

Return Values

If the method succeeds, it returns the number of times that the looping portion repeats.

Error Codes

If the method fails, it raises an error, and Err.Number is set.

See Also

DirectMusicSegment.SetRepeats, DirectMusicSegment.SetLoopPoints, DirectMusicSegment.GetLoopPointStart, DirectMusicSegment.GetLoopPointEnd, DirectMusicSegmentState.GetRepeats