Feature.IsValueSet

Feature.IsValueSet method

检查此特性中是否已设置属性值。

public bool IsValueSet(string attributeName)
参数类型描述
attributeName字符串属性的名称。

返回值

true 表示已为指定属性设置值;否则为 false

异常

异常条件
InvalidOperationException该属性未锁定。
ArgumentException此图层中不存在具有此名称的属性。
ArgumentNullException属性名称为 null

另见