Microsoft DirectX 8.1 (Visual Basic)

DirectMusicStyle8.GetMotifName

The GetMotifName method retrieves the name of a motif in the style.

object.GetMotifName(index As Long) As String

Parts

object

Resolves to a DirectMusicStyle8 object.

index

Index of the motif in the style, in the range from 1 through DirectMusicStyle8.GetMotifCount.

Return Values

Returns the name assigned to the motif by the author of the style.

Error Codes

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

See Also