Platform SDK: DirectX

DirectMusicStyle.GetBandName

The DirectMusicStyle.GetBandName method gets the name of a band in the style.

object.GetBandName(index As Long) As String

Parameters

object
Object expression that resolves to a DirectMusicStyle object.
index
Index of the band in the style, in the range from 1 through DirectMusicStyle.GetBandCount.

Return Values

If the method succeeds, it returns the name assigned to the band by the author of the style.

Error Codes

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

See Also

DirectMusicStyle.GetBand