DirectX SDK

DirectMusicStyle.GetBandCount

The DirectMusicStyle.GetBandCount method gets the number of bands available in the style.

object.GetBandCount() As Long

Parameters

object
Object expression that resolves to a DirectMusicStyle object.

Return Values

If the method succeeds, it returns the number of bands in the style.

Error Codes

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

See Also

DirectMusicStyle.GetBand, DirectMusicStyle.GetBandName