getAttribute
类: slreq.Link
命名空间: slreq
语法
val = getAttribute(myLink,propertyName)
说明
返回链接 val
= getAttribute(myLink
,propertyName
)myLink
的链接属性propertyName
的值。该属性可以是内置属性、自定义属性或原型属性。
注意
要返回原型属性的值,您必须传递该属性的完全限定名称。例如,在名为 myProfile
的配置文件中,名为 myStereotype
的原型中名为 Status
的属性的完全限定名称是 myProfile.myStereotype.Status
。
输入参数
输出参量
示例
提示
要获取需求的属性值,请使用
getAttribute
方法。
版本历史记录
在 R2020b 中推出