Locks 枚举

可应用于元素、分区和存储区的锁定类型

此枚举有一个 FlagsAttribute 特性,通过该特性可使其成员值按位组合。

命名空间:  Microsoft.VisualStudio.Modeling.Immutability
程序集:  Microsoft.VisualStudio.Modeling.Sdk.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.12.0.dll 中)

语法

声明
<FlagsAttribute> _
Public Enumeration Locks
[FlagsAttribute]
public enum Locks

成员

成员名称 说明
Add Lock Add element (and therefore link) operations.锁定“添加”元素(因此链接)操作只有在分区和存储级别上相关。
All 锁定所有更新
Delete 锁定删除元素
Move 在分区间锁定移动元素
None
Properties 锁定元素属性更新Lock element property updates
Reorder 锁定链接的重新排序
RolePlayer 锁定链接角色扮演者的更改

请参阅

参考

Microsoft.VisualStudio.Modeling.Immutability 命名空间