| Microsoft DirectX 8.1 (Visual Basic) | 
The GetMotifCount method retrieves the number of 
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.