Microsoft DirectX 8.0 (Visual Basic)

DirectMusicStyle8.GetBand

Retrieves a band object by name.

object.GetBand(name As String) As DirectMusicBand8

Parts

object
Resolves to a DirectMusicStyle8 object.
name
Name assigned to the band by the author of the style.

Return Values

Returns a DirectMusicBand8 object.

Error Codes

If the method fails, it raises an error, and Err.Number can be set to DMUS_E_FAIL.

See Also

DirectMusicStyle8.GetBandName, DirectMusicStyle8.GetDefaultBand