StructureAttribute

StructureAttribute class

表示结构元素的属性。

public class StructureAttribute

构造函数

姓名描述
StructureAttribute(AttributeKey)初始化 StructureAttribute 的新实例。

特性

姓名描述
IsInitializedValue { get; }获取结构属性值的状态。如果设置了值,则为真。
Key { get; }获取属性键。

方法

姓名描述
GetArrayNumberValue()获取数值数组。
GetArrayValue()获取值名称数组。
GetNameValue()获取值名称。
GetNumberValue()获取数值编号。
GetStringValue()获取值字符串。
SetArrayNumberValue(double?[])
SetArrayValue(AttributeName[])设置值名称数组。
SetColorValue(Color)设置值颜色。
SetNameValue(AttributeName)设置值名称。
SetNumberValue(double)设置数值编号。
SetRectangleValue(Rectangle)设置值矩形。
SetStringValue(string)设置值字符串。

也可以看看