Microsoft DirectX 8.1 (Visual Basic)

DirectMusicStyle8.GetMotif

The GetMotif method creates a segment containing the named motif.

object.GetMotif(name As String) As DirectMusicSegment8

Parts

object

Resolves to a DirectMusicStyle8 object.

name

Name assigned to the motif by the author of the style.

Return Values

Returns a DirectMusicSegment8 object representing the motif.

Error Codes

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

See Also