Microsoft DirectX 8.1 (Visual Basic)

DirectMusicSegment8.GetRepeats

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

object.GetRepeats() As Long

Parts

object

Resolves to a DirectMusicSegment8 object.

Return Values

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