PropertyOrderAttribute 构造函数
初始化 PropertyOrderAttribute 类的新实例。
命名空间: Microsoft.Windows.Design.PropertyEditing
程序集: Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)
语法
声明
Public Sub New ( _
order As PropertyOrder _
)
public PropertyOrderAttribute(
PropertyOrder order
)
public:
PropertyOrderAttribute(
PropertyOrder^ order
)
new :
order:PropertyOrder -> PropertyOrderAttribute
public function PropertyOrderAttribute(
order : PropertyOrder
)
参数
- order
类型:Microsoft.Windows.Design.PropertyEditing.PropertyOrder
分配给属性的 PropertyOrder。
异常
异常 | 条件 |
---|---|
ArgumentNullException | order 为 nullnull 引用(在 Visual Basic 中为 Nothing)。 |
备注
由 PropertyOrder 类提供的标准优先级为 Early、Late 和 Default。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.Windows.Design.PropertyEditing 命名空间