Microsoft DirectX 8.1 (Visual Basic)

DirectMusicStyle8.GetMotifCount

The GetMotifCount method retrieves the number of motifs available in the style.

object.GetMotifCount() As Long

Parts

object

Resolves to a DirectMusicStyle8 object.

Return Values

Returns the number of motifs in the style.

Error Codes

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