Platform SDK: DirectX

DirectMusicStyle.GetMotif

DirectMusicStyle.GetMotif メソッドは、指定されたモチーフを含むセグメントを作成する。

object.GetMotif(name As String) As DirectMusicSegment

パラメータ

object
DirectMusicStyle オブジェクトを表すオブジェクト式。
name
スタイルの作成者によってモチーフに割り当てられた名前。

戻り値

成功すれば、モチーフを表す DirectMusicSegment オブジェクトを返す。

エラー コード

失敗すればエラーが発生し、Err.Number が設定される。

参照

DirectMusicStyle.GetMotifCountDirectMusicStyle.GetMotifName