Microsoft DirectX 8.0 (Visual Basic)

DirectMusicStyle8.GetBandCount

Retrieves the number of bands available in the style.

object.GetBandCount() As Long

Parts

object
Resolves to a DirectMusicStyle8 object.

Return Values

Returns the number of bands.

Error Codes

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

See Also

DirectMusicStyle8.GetBand, DirectMusicStyle8.GetBandName