addLabel
将标签附加到工程文件
语法
说明
addLabel(
将指定类别中的指定标签附加到工程 proj
,projectFiles
,categoryName
,labelName
)proj
中的文件 projectFiles
。
addLabel(
将指定的标签附加到工程 proj
,projectFiles
,labelName
)proj
中的文件 projectFiles
。仅当标签名称在工程中唯一时,才使用此语法。
addLabel(
将具有指定的文本或数值数据的标签附加到文件 proj
,projectFiles
,categoryName
,labelName
,labelData
)projectFiles
。您无法将标签数据添加到内置标签中。
addLabel(
将指定类别中的指定标签附加到指定文件。fileObject
,categoryName
,labelName
)
addLabel(
附加具有指定的文本或数值数据的标签。您无法将标签数据添加到内置标签,因为它们为只读。fileObject
,categoryName
,labelName
,labelData
)