Microsoft DirectX 8.1 (Visual Basic)

DirectMusicStyle8.GetBand

The GetBand method 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