GeometryShapeHasBaseGeometryShape 类

定义

DomainRelationship GeometryShapeHasBaseGeometryShapeDomainRelationship GeometryShapeHasBaseGeometryShape

public ref class GeometryShapeHasBaseGeometryShape : Microsoft::VisualStudio::Modeling::DslDefinition::ClassHasBaseClass
[Microsoft.VisualStudio.Modeling.Design.DescriptionResource("Microsoft.VisualStudio.Modeling.DslDefinition.GeometryShapeHasBaseGeometryShape.Description", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[Microsoft.VisualStudio.Modeling.Design.DisplayNameResource("Microsoft.VisualStudio.Modeling.DslDefinition.GeometryShapeHasBaseGeometryShape.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("31b2b812-38f9-4a2a-9d97-c320bac91fa1")]
[Microsoft.VisualStudio.Modeling.DomainRelationship]
[System.CLSCompliant(true)]
public class GeometryShapeHasBaseGeometryShape : Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasBaseClass
[<Microsoft.VisualStudio.Modeling.Design.DescriptionResource("Microsoft.VisualStudio.Modeling.DslDefinition.GeometryShapeHasBaseGeometryShape.Description", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<Microsoft.VisualStudio.Modeling.Design.DisplayNameResource("Microsoft.VisualStudio.Modeling.DslDefinition.GeometryShapeHasBaseGeometryShape.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("31b2b812-38f9-4a2a-9d97-c320bac91fa1")>]
[<Microsoft.VisualStudio.Modeling.DomainRelationship>]
[<System.CLSCompliant(true)>]
type GeometryShapeHasBaseGeometryShape = class
    inherit ClassHasBaseClass
Public Class GeometryShapeHasBaseGeometryShape
Inherits ClassHasBaseClass
继承
GeometryShapeHasBaseGeometryShape
派生
属性

构造函数

GeometryShapeHasBaseGeometryShape(GeometryShape, GeometryShape)

构造函数在给定 GeometryShape 所在的同一分区中创建 GeometryShapeHasBaseGeometryShape 链接Constructor Creates a GeometryShapeHasBaseGeometryShape link in the same Partition as the given GeometryShape

GeometryShapeHasBaseGeometryShape(Partition, RoleAssignment[])

构造函数Constructor

GeometryShapeHasBaseGeometryShape(Partition, RoleAssignment[], PropertyAssignment[])

构造函数Constructor

GeometryShapeHasBaseGeometryShape(Store, RoleAssignment[])

构造函数Constructor

GeometryShapeHasBaseGeometryShape(Store, RoleAssignment[], PropertyAssignment[])

构造函数Constructor

字段

BaseGeometryShapeDomainRoleId

BaseGeometryShape 域角色 Id。BaseGeometryShape domain role Id.

DomainClassId

GeometryShapeHasBaseGeometryShape 域类 Id。GeometryShapeHasBaseGeometryShape domain class Id.

SubGeometryShapeDomainRoleId

SubGeometryShape 域角色 Id。SubGeometryShape domain role Id.

属性

BaseClass

获取扮演 BaseGeometryShape 域角色的元素。Gets the element playing BaseGeometryShape domain role. VisualStudio 的说明。 Dsldefinition.dsl. ClassHasBaseClass. BaseClassDescription for Microsoft.VisualStudio.Modeling.DslDefinition.ClassHasBaseClass.BaseClass

BaseGeometryShape

DomainRole BaseGeometryShapeDomainRole BaseGeometryShape

DerivedClassName

获取或设置 DerivedClassName 域属性的值。Gets or sets the value of DerivedClassName domain property. 提供派生类名称作为链接上的属性。Provides the derived class name as a property on the link.

(继承自 ClassHasBaseClass)
DerivedClassNamespace

获取或设置 DerivedClassNamespace 域属性的值。Gets or sets the value of DerivedClassNamespace domain property. 提供派生类命名空间作为链接上的属性。Provides the derived class namespace as a property on the link.

(继承自 ClassHasBaseClass)
Id

此元素的唯一标识符。Unique identifier of this element.

(继承自 ModelElement)
IsActive

如果该元素当前在模型内处于活动状态,则返回 true; 如果该元素已删除或正在被删除,则返回 false。Returns true if the Element is currently active within the model, false if the element has been deleted or is in the process of being deleted.

(继承自 ModelElement)
IsDeleted

已从模型中删除了元素。Has the element been deleted from the model. (删除的元素不会立即被销毁,使 undo 命令可以撤消删除元素。 ) (Deleted elements are not immediately destroyed so that the undo command may undo deleting the element.)

(继承自 ModelElement)
IsDeleting

已从模型中删除了元素。Has the element been deleted from the model. (删除的元素不会立即被销毁,使 undo 命令可以撤消删除元素。 ) (Deleted elements are not immediately destroyed so that the undo command may undo deleting the element.)

(继承自 ModelElement)
LinkedElements

获取由此元素链接连接的元素的只读集合。Gets a read-only collection of elements connected by this element link.

(继承自 ElementLink)
Partition

获取或设置包含此元素的分区实例。Gets or sets the Partition instance that contains this element.

(继承自 ModelElement)
Store

获取包含此元素的存储实例。Get the Store instance that contains this element.

(继承自 ModelElement)
SubClass

获取扮演 SubGeometryShape 域角色的元素。Gets the element playing SubGeometryShape domain role. 此域类的基类。Base class of this domain class.

SubGeometryShape

此几何形状的 DomainRole SubGeometryShape 基本几何形状。DomainRole SubGeometryShape Base geometry shape of this geometry shape.

方法

CanMerge(ProtoElementBase, ElementGroupPrototype)

返回一个值,该值指示是否可以将指定根 ProtoElement 表示的源元素添加到此元素。Returns a value indicating whether the source element represented by the specified root ProtoElement can be added to this element.

(继承自 ModelElement)
ChooseMergeTarget(ElementGroup)

获取要用作 ElementGroup 合并进程目标的 ModelElement。Gets the ModelElement to be used as the target for the ElementGroup merge process.
当此元素是合并目标时,合并进程将调用此方法。This is called by the merge process when this element is the target of the merge.
这会为此元素提供将目标更改为其自身之外的其他操作的机会。This provides this element with the opportunity to change the target to something other than itself.

(继承自 ModelElement)
ChooseMergeTarget(ElementGroupPrototype)

获取要用作 Elementgroupprototype 创建 elementgroup 合并进程目标的 ModelElement。Gets the ModelElement to be used as the target for the ElementGroupPrototype merge process.
当此元素是合并目标时,合并进程将调用此方法。This is called by the merge process when this element is the target of the merge.
这会为此元素提供将目标更改为其自身之外的其他操作的机会。This provides this element with the opportunity to change the target to something other than itself.

(继承自 ModelElement)
Copy()

在模型中创建元素的副本。Creates a copy of the element in the model.

(继承自 ModelElement)
Copy(IEnumerable<Guid>)

在模型中创建元素的副本。Creates a copy of the element in the model.

(继承自 ModelElement)
Delete()

从模型中删除元素。Deletes the element from the model.

(继承自 ModelElement)
Delete(Guid[])

从模型中删除元素。Deletes the element from the model.

(继承自 ModelElement)
GetBaseClass(GeometryShape)

获取 BaseClass。Gets BaseClass.

GetDomainClass()

获取此元素的派生程度最高的域类。Gets the most-derived domain class for this element.

(继承自 ModelElement)
GetDomainRelationship()

获取此 ElementLink 实例化的域关系。Gets domain relationship this ElementLink instantiates.

(继承自 ElementLink)
GetLink(GeometryShape, GeometryShape)

获取给定 GeometryShapeand 之间的一个 GeometryShapeHasBaseGeometryShape 链接 GeometryShape。Get the one GeometryShapeHasBaseGeometryShape link between a given GeometryShapeand a GeometryShape.

GetLinks(GeometryShape, GeometryShape)

获取给定 GeometryShape 和 GeometryShape 之间的任何 GeometryShapeHasBaseGeometryShape 链接。Get any GeometryShapeHasBaseGeometryShape links between a given GeometryShape and a GeometryShape.

GetLinksToSubClasses(GeometryShape)

获取 GeometryShape 的 GeometryShapeHasBaseGeometryShape 链接的列表。Get the list of GeometryShapeHasBaseGeometryShape links to a GeometryShape.

GetLinkToBaseClass(GeometryShape)

获取 GeometryShape 的 GeometryShapeHasBaseGeometryShape 链接。Get the GeometryShapeHasBaseGeometryShape link to a GeometryShape.

GetRoleCollection<TCollection,TElement>(Guid)

获取或创建链接元素集合Gets or creates the linked element collection

(继承自 ModelElement)
GetSubClasses(GeometryShape)

获取子类的列表。Gets a list of SubClasses.

MergeConfigure(ElementGroup)

由合并进程调用,以允许此模型元素在合并进程与其关联的目标元素后立即配置自身。Called by the Merge process to allow this model element to configure itself immediately after the Merge process has related it to the target element.

(继承自 ModelElement)
MergeDisconnect(ModelElement)

执行相对于 MergeRelate 的操作(即从当前的元素断开连接) (删除) MergeRelate 创建的链接。Performs operation opposite to MergeRelate - i.e. disconnects a given element from the current one (removes links created by MergeRelate).

(继承自 ModelElement)
MergeRelate(ModelElement, ElementGroup)

由合并进程调用,用于创建此 target 元素与指定源元素之间的关系。Called by the Merge process to create a relationship between this target element and the specified source element. 通常,父子关系在 (父) 的目标元素和) 子元素 (的源元素之间建立,但可以建立任何关系。Typically, a parent-child relationship is established between the target element (the parent) and the source element (the child), but any relationship can be established.

(继承自 ModelElement)
MoveBefore(DomainRoleInfo, ElementLink)

将此链接移动到在该关系列表中的特定链接之前扮演某个特定角色的元素列表中。Move this link in the list of relationships contained by the element playing a particular role before a particular link in that relationship list.

(继承自 ElementLink)
MoveToIndex(DomainRoleInfo, Int32)

将此链接从扮演特定角色的元素所包含的关系列表移动到该关系列表中的指定索引处。Move this link in the list of relationships contained by the element playing a particular role to a specified index in that relationship list.

(继承自 ElementLink)
OnCopy(ModelElement)

当已创建元素的副本时调用。Called when a copy of the element has been created. 在重复元素上调用方法。The method is called on the duplicate element.

(继承自 ModelElement)
OnDeleted()

在元素已删除之后由模型调用。Called by the model after the element has been deleted.

(继承自 ModelElement)
OnDeleting()

在删除元素之前由模型调用。Called by the model before the element is deleted.

(继承自 ModelElement)
OnResurrected()

在复活元素后,由模型调用 (放回存储) 。Called by the model after the element has been resurrected (placed back into the store).

(继承自 ModelElement)
OnRolePlayerChanged(DomainRoleInfo, ModelElement, ModelElement, Int32)

当角色扮演者已更改时调用Called when the role player has be changed

(继承自 ElementLink)
OnRolePlayerChanging(DomainRoleInfo, ModelElement, ModelElement, Int32)

当角色扮演者将要更改时调用Called when the role player will be changing

(继承自 ElementLink)
OnRolePlayerPositionChanged(DomainRoleInfo, ElementLink, Int32, Int32)

在角色扮演者位置发生更改时通知的虚拟方法。Virtual method for notifying when role player position has changed.

(继承自 ModelElement)
OnRolePlayerPositionChanging(DomainRoleInfo, ElementLink, Int32, Int32)

在角色扮演者位置将发生变化时通知的虚拟方法。Virtual method for notifying when role player position will be changing.

(继承自 ModelElement)
SetBaseClass(GeometryShape, GeometryShape)

设置 BaseClass。Sets BaseClass.

显式接口实现

IMergeElements.CanMerge(ProtoElementBase, ElementGroupPrototype) (继承自 ModelElement)
IMergeElements.ChooseMergeTarget(ElementGroup) (继承自 ModelElement)
IMergeElements.ChooseMergeTarget(ElementGroupPrototype) (继承自 ModelElement)
IMergeElements.MergeConfigure(ElementGroup) (继承自 ModelElement)
IMergeElements.MergeDisconnect(ModelElement) (继承自 ModelElement)
IMergeElements.MergeRelate(ModelElement, ElementGroup) (继承自 ModelElement)

扩展方法

AddExtension(ModelElement, DomainClassInfo)

使用指定域类型的新实例化扩展扩展此 ModelElement。Extend this ModelElement with a newly instantiated extension of the specified domain type. 如果该元素已经具有该类型的扩展,则将引发 InvalidOperationException。An InvalidOperationException will be thrown if the element already has an extension of that type.

AddExtension(ModelElement, ExtensionElement)

使用特定扩展扩展此 ModelElement。Extend this ModelElement with a specific extension. 如果该元素已具有相同类型的扩展,则将引发 InvalidOperationException。An InvalidOperationException will be thrown if the element already has an extension of the same type.

AddExtension(ModelElement, Guid)

将此 ModelElement 扩展到已标识域类型的新实例化扩展。Extend this ModelElement with newly instantiated extension of the identified domain type. 如果该元素已经具有该类型的扩展,则将引发 InvalidOperationException。An InvalidOperationException will be thrown if the element already has an extension of that type.

AddExtension(ModelElement, Type)

使用指定类型的新实例化扩展来扩展此 ModelElement。Extend this ModelElement with a newly instantiated extension of the specified type. 如果该元素已经具有该类型的扩展,则将引发 InvalidOperationException。An InvalidOperationException will be thrown if the element already has an extension of that type.

AddExtension<T>(ModelElement)

使用特定类型的新实例化扩展来扩展此 ModelElement。Extend this ModelElement with a newly instantiated extension of a particular type. 如果该元素已具有相同类型的扩展,则将引发 InvalidOperationException。An InvalidOperationException will be thrown if the element already has an extension of the same type.

GetAllExtensions(ModelElement)

返回一个可枚举,它在此 ModelElement 中嵌入的扩展元素树中执行广度优先遍历。Return an enumerable that performs a breadth first traversal across the tree of extension elements embedded in this ModelElement.

GetBaseElement(ModelElement)

返回指定的 ModelElement 参与到的虚拟 MEL 的根。Returns the root of the virtual MEL in which the specified ModelElement is participating.

GetExtension(ModelElement, DomainClassInfo)
GetExtension(ModelElement, Guid)
GetExtension(ModelElement, Type)

从此 ModelElement 的可用扩展中获取指定类型的 Extensionextendselement.extensionelement。Get the ExtensionElement of the specified type from the available extensions of this ModelElement. 如果元素没有此类扩展,则将引发 InvalidOperationException。If the element has no such extension then an InvalidOperationException will be raised.

GetExtension<T>(ModelElement)

从此 ModelElement 的可用扩展中获取指定类型的 Extensionextendselement.extensionelement。Get the ExtensionElement of the specified type from the available extensions of this ModelElement. 如果元素没有此类扩展,则将引发 InvalidOperationException。If the element has no such extension then an InvalidOperationException will be raised.

IsExtendedBy(ModelElement, DomainClassInfo)

查询此 ModelElement 当前是否由特定类型的 Extensionextendselement.extensionelement 扩展。Query whether this ModelElement is currently extended by an ExtensionElement of a particular type.

IsExtendedBy(ModelElement, Guid)

查询此 ModelElement 当前是否由特定类型的 Extensionextendselement.extensionelement 扩展。Query whether this ModelElement is currently extended by an ExtensionElement of a particular type.

IsExtendedBy(ModelElement, Type)

查询此 ModelElement 当前是否由特定类型的 Extensionextendselement.extensionelement 扩展。Query whether this ModelElement is currently extended by an ExtensionElement of a particular type.

RemoveExtension(ModelElement, DomainClassInfo)

删除指定 ModelElement 的任何属于特定类型的扩展。Remove any extension of the specified ModelElement that is of a particular type.

RemoveExtension(ModelElement, ExtensionElement)

从此 ModelElement 的扩展中删除指定的 Extensionextendselement.extensionelement。Remove a specified ExtensionElement from the extensions of this ModelElement.

RemoveExtension(ModelElement, Guid)

删除指定 ModelElement 的任何属于特定类型的扩展。Remove any extension of the specified ModelElement that is of a particular type.

RemoveExtension(ModelElement, Type)

删除此 ModelElement 的任何属于特定类型的扩展。Remove any extension of this ModelElement that is of a particular type.

TryGetExtension(ModelElement, DomainClassInfo)
TryGetExtension(ModelElement, Guid)
TryGetExtension(ModelElement, Type)
TryGetExtension<T>(ModelElement)

从此 ModelElement 的可用扩展中获取指定类型的 Extensionextendselement.extensionelement。Get the ExtensionElement of the specified type from the available extensions of this ModelElement. 如果此元素没有此类扩展,则结果将为 null。If this element has no such extension then the result will be null.

CanDelete(ModelElement, Guid[])

从模型中删除元素。Deletes the element from the model.

GetLocks(ModelElement)

获取此元素的锁定标志。Get the lock flags for this element. 这将包括在包含元素的分区上启用的任何锁。This will include any locks enabled on the Partition containing the element.

IsLocked(ModelElement, Locks)

测试此元素是否具有指定的一组锁Test whether this element has any of a specified set of locks

SetLocks(ModelElement, Locks)

设置此元素的锁定标志Set the lock flags of this element

适用于