DirectX SDK

DirectMusicStyle.GetMotifName

The DirectMusicStyle.GetMotifName method gets the name of a motif in the style.

object.GetMotifName(index As Long) As String

Parameters

object
Object expression that resolves to a DirectMusicStyle object.
index
Index of the motif in the style, in the range from 1 through DirectMusicStyle.GetMotifCount.

Return Values

If the method succeeds, it 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

DirectMusicStyle.GetMotif