メインコンテンツ

このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。

getDirective

クラス: target.BuildTool
名前空間: target

Search for directive

R2023a 以降

構文

directiveObject = myBuildTool.getDirective(directiveName)

説明

directiveObject = myBuildTool.getDirective(directiveName) searches for the specified directive in the Directives property of the target.BuildTool object and returns a target.BaseDirective object.

入力引数

すべて展開する

Name of directive.

例: objectName = cCompiler.getDirective('CommandFile');

Output Arguments

すべて展開する

target.BaseDirective object that contains the directive.

バージョン履歴

R2023a で導入