ConnectorMapReferencesConnector 類別

定義

DomainRelationship ConnectorMapReferencesConnectorDomainRelationship ConnectorMapReferencesConnector

public ref class ConnectorMapReferencesConnector sealed : Microsoft::VisualStudio::Modeling::ElementLink
[Microsoft.VisualStudio.Modeling.Design.DescriptionResource("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorMapReferencesConnector.Description", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[Microsoft.VisualStudio.Modeling.Design.DisplayNameResource("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorMapReferencesConnector.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("69a9a82d-8bf0-4cb2-9222-057e429f5b4e")]
[Microsoft.VisualStudio.Modeling.DomainRelationship]
[System.CLSCompliant(true)]
public sealed class ConnectorMapReferencesConnector : Microsoft.VisualStudio.Modeling.ElementLink
[<Microsoft.VisualStudio.Modeling.Design.DescriptionResource("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorMapReferencesConnector.Description", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<Microsoft.VisualStudio.Modeling.Design.DisplayNameResource("Microsoft.VisualStudio.Modeling.DslDefinition.ConnectorMapReferencesConnector.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("69a9a82d-8bf0-4cb2-9222-057e429f5b4e")>]
[<Microsoft.VisualStudio.Modeling.DomainRelationship>]
[<System.CLSCompliant(true)>]
type ConnectorMapReferencesConnector = class
    inherit ElementLink
Public NotInheritable Class ConnectorMapReferencesConnector
Inherits ElementLink
繼承
ConnectorMapReferencesConnector
屬性

建構函式

ConnectorMapReferencesConnector(ConnectorMap, Connector)

函式會在與指定 ConnectorMap 相同的資料分割中建立 ConnectorMapReferencesConnector 連結Constructor Creates a ConnectorMapReferencesConnector link in the same Partition as the given ConnectorMap

ConnectorMapReferencesConnector(Partition, RoleAssignment[])

建構函式Constructor

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

建構函式Constructor

ConnectorMapReferencesConnector(Store, RoleAssignment[])

建構函式Constructor

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

建構函式Constructor

欄位

ConnectorDomainRoleId

連接器網域角色識別碼。Connector domain role Id.

ConnectorMapDomainRoleId

ConnectorMap 網域角色識別碼。ConnectorMap domain role Id.

DomainClassId

ConnectorMapReferencesConnector 網域類別識別碼。ConnectorMapReferencesConnector domain class Id.

屬性

Connector

DomainRole 連接器DomainRole Connector

ConnectorMap

正在對應的 DomainRole ConnectorMap 連接器。DomainRole ConnectorMap Connector being mapped.

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. (已刪除的元素不會立即終結,所以復原命令可能會恢復刪除專案。 ) (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. (已刪除的元素不會立即終結,所以復原命令可能會恢復刪除專案。 ) (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)

方法

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 merge 進程目標使用的 ModelElement。Gets the ModelElement to be used as the target for the ElementGroup merge process.
當這個元素是合併的目標時,merge 進程會呼叫此專案。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 merge 進程目標使用的 ModelElement。Gets the ModelElement to be used as the target for the ElementGroupPrototype merge process.
當這個元素是合併的目標時,merge 進程會呼叫此專案。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)
GetConnector(ConnectorMap)

取得連接器。Gets Connector.

GetConnectorMaps(Connector)

取得 ConnectorMaps 的清單。Gets a list of ConnectorMaps.

GetDomainClass()

取得這個元素的最高衍生網域類別。Gets the most-derived domain class for this element.

(繼承來源 ModelElement)
GetDomainRelationship()

取得此 ElementLink 具現化的網域關聯性。Gets domain relationship this ElementLink instantiates.

(繼承來源 ElementLink)
GetLink(ConnectorMap, Connector)

取得指定 ConnectorMapand 與連接器之間的一個 ConnectorMapReferencesConnector 連結。Get the one ConnectorMapReferencesConnector link between a given ConnectorMapand a Connector.

GetLinks(ConnectorMap, Connector)

取得指定 ConnectorMap 與連接器之間的任何 ConnectorMapReferencesConnector 連結。Get any ConnectorMapReferencesConnector links between a given ConnectorMap and a Connector.

GetLinksToConnectorMaps(Connector)

取得連接器的 ConnectorMapReferencesConnector 連結清單。Get the list of ConnectorMapReferencesConnector links to a Connector.

GetLinkToConnector(ConnectorMap)

取得 ConnectorMap 的 ConnectorMapReferencesConnector 連結。Get the ConnectorMapReferencesConnector link to a ConnectorMap.

GetRoleCollection<TCollection,TElement>(Guid)

取得或建立連結的元素集合。Gets or creates the linked element collection

(繼承來源 ModelElement)
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)

由合併進程呼叫,以建立這個目標專案與指定之來源元素之間的關聯性。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()

在 isdefunct 元素之後由模型呼叫, (放回存放區) 。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)
SetConnector(ConnectorMap, Connector)

設定連接器。Sets Connector.

明確介面實作

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 的可用延伸中取得指定類型的 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 的可用延伸中取得指定類型的 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 目前是否由特定類型的 ExtensionElement 所延伸。Query whether this ModelElement is currently extended by an ExtensionElement of a particular type.

IsExtendedBy(ModelElement, Guid)

查詢此 ModelElement 目前是否由特定類型的 ExtensionElement 所延伸。Query whether this ModelElement is currently extended by an ExtensionElement of a particular type.

IsExtendedBy(ModelElement, Type)

查詢此 ModelElement 目前是否由特定類型的 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 的延伸中移除指定的 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 的可用延伸中取得指定類型的 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

適用於