ConnectorHasDecorators 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
DomainRelationship ConnectorHasDecorators
public ref class ConnectorHasDecorators sealed : Microsoft::VisualStudio::Modeling::DslDefinition::DiagramElementHasDecorators
[Microsoft.VisualStudio.Modeling.Design.DescriptionResource("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators.Description", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[Microsoft.VisualStudio.Modeling.Design.DisplayNameResource("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators.DisplayName", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[Microsoft.VisualStudio.Modeling.DomainModelOwner(typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel))]
[Microsoft.VisualStudio.Modeling.DomainObjectId("2dd45139-6994-4cc9-8de0-f392926c5280")]
[Microsoft.VisualStudio.Modeling.DomainRelationship(IsEmbedding=true)]
[System.CLSCompliant(true)]
[System.ComponentModel.TypeDescriptionProvider(typeof(Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecoratorsTypeDescriptionProvider))]
public sealed class ConnectorHasDecorators : Microsoft.VisualStudio.Modeling.DslDefinition.DiagramElementHasDecorators
[<Microsoft.VisualStudio.Modeling.Design.DescriptionResource("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators.Description", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<Microsoft.VisualStudio.Modeling.Design.DisplayNameResource("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecorators.DisplayName", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<Microsoft.VisualStudio.Modeling.DomainModelOwner(typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel))>]
[<Microsoft.VisualStudio.Modeling.DomainObjectId("2dd45139-6994-4cc9-8de0-f392926c5280")>]
[<Microsoft.VisualStudio.Modeling.DomainRelationship(IsEmbedding=true)>]
[<System.CLSCompliant(true)>]
[<System.ComponentModel.TypeDescriptionProvider(typeof(Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorHasDecoratorsTypeDescriptionProvider))>]
type ConnectorHasDecorators = class
inherit DiagramElementHasDecorators
Public NotInheritable Class ConnectorHasDecorators
Inherits DiagramElementHasDecorators
- 继承
- 属性
构造函数
| ConnectorHasDecorators(Connector, Decorator) |
构造函数在给定连接器所在的同一分区中创建 ConnectorHasDecorators 链接 |
| ConnectorHasDecorators(Partition, RoleAssignment[]) |
构造函数 |
| ConnectorHasDecorators(Partition, RoleAssignment[], PropertyAssignment[]) |
构造函数 |
| ConnectorHasDecorators(Store, RoleAssignment[]) |
构造函数 |
| ConnectorHasDecorators(Store, RoleAssignment[], PropertyAssignment[]) |
构造函数 |
字段
| ConnectorDomainRoleId |
连接器域角色 Id。 |
| DecoratorDomainRoleId |
修饰器域角色 Id。 |
| DomainClassId |
ConnectorHasDecorators 域类 Id。 |
| IsMoveableDomainPropertyId |
IsMoveable 域属性 Id。 |
| OffsetFromLineDomainPropertyId |
OffsetFromLine 域属性 Id。 |
| OffsetFromShapeDomainPropertyId |
OffsetFromShape 域属性 Id。 |
| PositionDomainPropertyId |
位置域属性 Id。 |
属性
| Connector |
DomainRole 连接器 |
| Decorator |
修饰器所属的 DomainRole 修饰器连接器。 |
| DiagramElement |
获取元素播放连接器域角色。 关系图元素的修饰器。 |
| Id |
此元素的唯一标识符。 (继承自 ModelElement) |
| IsActive |
如果该元素当前在模型内处于活动状态,则返回 true; 如果该元素已删除或正在被删除,则返回 false。 (继承自 ModelElement) |
| IsDeleted |
已从模型中删除了元素。 (删除的元素不会立即被销毁,使 undo 命令可以撤消删除元素。 ) (继承自 ModelElement) |
| IsDeleting |
已从模型中删除了元素。 (删除的元素不会立即被销毁,使 undo 命令可以撤消删除元素。 ) (继承自 ModelElement) |
| IsMoveable |
获取或设置 IsMoveable 域属性的值。 如果为 true,则用户可以移动修饰器。 |
| LinkedElements |
获取由此元素链接连接的元素的只读集合。 (继承自 ElementLink) |
| OffsetFromLine |
获取或设置 OffsetFromLine 域属性的值。 修饰器从该行相对于其默认位置的偏移(英寸)。 |
| OffsetFromShape |
获取或设置 OffsetFromShape 域属性的值。 修饰器从该形状相对于其默认位置的偏移(英寸)。 |
| Partition |
获取或设置包含此元素的分区实例。 (继承自 ModelElement) |
| Position |
获取或设置位置域属性的值。 修饰器的默认位置。 |
| Store |
获取包含此元素的存储实例。 (继承自 ModelElement) |
方法
显式接口实现
扩展方法
| AddExtension(ModelElement, DomainClassInfo) |
使用指定域类型的新实例化扩展扩展此 ModelElement。 如果该元素已经具有该类型的扩展,则将引发 InvalidOperationException。 |
| AddExtension(ModelElement, ExtensionElement) |
使用特定扩展扩展此 ModelElement。 如果该元素已具有相同类型的扩展,则将引发 InvalidOperationException。 |
| AddExtension(ModelElement, Guid) |
将此 ModelElement 扩展到已标识域类型的新实例化扩展。 如果该元素已经具有该类型的扩展,则将引发 InvalidOperationException。 |
| AddExtension(ModelElement, Type) |
使用指定类型的新实例化扩展来扩展此 ModelElement。 如果该元素已经具有该类型的扩展,则将引发 InvalidOperationException。 |
| AddExtension<T>(ModelElement) |
使用特定类型的新实例化扩展来扩展此 ModelElement。 如果该元素已具有相同类型的扩展,则将引发 InvalidOperationException。 |
| GetAllExtensions(ModelElement) |
返回一个可枚举,它在此 ModelElement 中嵌入的扩展元素树中执行广度优先遍历。 |
| GetBaseElement(ModelElement) |
返回指定的 ModelElement 参与到的虚拟 MEL 的根。 |
| GetExtension(ModelElement, DomainClassInfo) | |
| GetExtension(ModelElement, Guid) | |
| GetExtension(ModelElement, Type) |
从此 ModelElement 的可用扩展中获取指定类型的 Extensionextendselement.extensionelement。 如果元素没有此类扩展,则将引发 InvalidOperationException。 |
| GetExtension<T>(ModelElement) |
从此 ModelElement 的可用扩展中获取指定类型的 Extensionextendselement.extensionelement。 如果元素没有此类扩展,则将引发 InvalidOperationException。 |
| IsExtendedBy(ModelElement, DomainClassInfo) |
查询此 ModelElement 当前是否由特定类型的 Extensionextendselement.extensionelement 扩展。 |
| IsExtendedBy(ModelElement, Guid) |
查询此 ModelElement 当前是否由特定类型的 Extensionextendselement.extensionelement 扩展。 |
| IsExtendedBy(ModelElement, Type) |
查询此 ModelElement 当前是否由特定类型的 Extensionextendselement.extensionelement 扩展。 |
| RemoveExtension(ModelElement, DomainClassInfo) |
删除指定 ModelElement 的任何属于特定类型的扩展。 |
| RemoveExtension(ModelElement, ExtensionElement) |
从此 ModelElement 的扩展中删除指定的 Extensionextendselement.extensionelement。 |
| RemoveExtension(ModelElement, Guid) |
删除指定 ModelElement 的任何属于特定类型的扩展。 |
| RemoveExtension(ModelElement, Type) |
删除此 ModelElement 的任何属于特定类型的扩展。 |
| TryGetExtension(ModelElement, DomainClassInfo) | |
| TryGetExtension(ModelElement, Guid) | |
| TryGetExtension(ModelElement, Type) | |
| TryGetExtension<T>(ModelElement) |
从此 ModelElement 的可用扩展中获取指定类型的 Extensionextendselement.extensionelement。 如果此元素没有此类扩展,则结果将为 null。 |
| CanDelete(ModelElement, Guid[]) |
从模型中删除元素。 |
| GetLocks(ModelElement) |
获取此元素的锁定标志。 这将包括在包含元素的分区上启用的任何锁。 |
| IsLocked(ModelElement, Locks) |
测试此元素是否具有指定的一组锁 |
| SetLocks(ModelElement, Locks) |
设置此元素的锁定标志 |