Microsoft DirectX 8.1 (Visual Basic)

DirectMusicStyle8.GetBandName

The GetBandName method retrieves the name of a band in the style.

object.GetBandName(index As Long) As String

Parts

object

Resolves to a DirectMusicStyle8 object.

index

Index of the band in the style, in the range from 1 through DirectMusicStyle8.GetBandCount.

Return Values

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