DynamicControl.GetAttribute(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用指定的键检索属性值。
public:
virtual System::String ^ GetAttribute(System::String ^ key);
public string GetAttribute(string key);
abstract member GetAttribute : string -> string
override this.GetAttribute : string -> string
Public Function GetAttribute (key As String) As String
参数
- key
- String
属性的名称。
返回
特性的值。
实现
注解
如果属性集合是 null,此方法将返回一个空字符串。