Port 類別

定義

DomainClass 埠定義埠圖形。DomainClass Port Defines a port shape.

public ref class Port sealed : Microsoft::VisualStudio::Modeling::DslDefinition::GeometryShape
[Microsoft.VisualStudio.Modeling.Design.DescriptionResource("Microsoft.VisualStudio.Modeling.DslDefinition.Port.Description", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[Microsoft.VisualStudio.Modeling.Design.DisplayNameResource("Microsoft.VisualStudio.Modeling.DslDefinition.Port.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("dd67c32f-162c-4361-9575-71e85ee08347")]
[System.CLSCompliant(true)]
public sealed class Port : Microsoft.VisualStudio.Modeling.DslDefinition.GeometryShape
[<Microsoft.VisualStudio.Modeling.Design.DescriptionResource("Microsoft.VisualStudio.Modeling.DslDefinition.Port.Description", typeof(Microsoft.VisualStudio.Modeling.DslDefinition.DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<Microsoft.VisualStudio.Modeling.Design.DisplayNameResource("Microsoft.VisualStudio.Modeling.DslDefinition.Port.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("dd67c32f-162c-4361-9575-71e85ee08347")>]
[<System.CLSCompliant(true)>]
type Port = class
    inherit GeometryShape
Public NotInheritable Class Port
Inherits GeometryShape
繼承
屬性

建構函式

Port(Partition, PropertyAssignment[])

建構函式Constructor

Port(Store, PropertyAssignment[])

建構函式Constructor

欄位

DomainClassId

埠網域類別識別碼。Port domain class Id.

屬性

AccessModifier

取得或設定 AccessModifier 網域屬性的值。Gets or sets the value of AccessModifier domain property. 判斷網域類別的存取修飾詞為公用或內部。Determines if the access modifier for the domain class is public or internal.

(繼承來源 DomainClass)
AllDescendants

取得直接或間接衍生的所有網域類別的唯讀清單。Gets a read-only list of all domain classes directly or indirectly derived form this one.

(繼承來源 DomainClass)
AllProperties

在這個類別上定義並繼承自基類的所有 DomainProperties 集合The set of all DomainProperties both defined on this class and inherited from base classes

(繼承來源 DomainClass)
AllRolesPlayed

此類別會直接播放所有 DomainRoles 的集合,並繼承自基類The set of all DomainRoles both played directly by this class and inherited from base classes

(繼承來源 DomainClass)
Attributes

取得屬性的清單。Gets a list of Attributes.

(繼承來源 AttributedDomainElement)
BaseClass

取得或設定 BaseClass。Gets or sets BaseClass. 此埠的基底埠。Base port of this port.

ClassData

取得或設定 ClassData。Gets or sets ClassData. 網域類別的 Xml 序列化設定資料。Xml serialization configuration data for the domain class.

(繼承來源 DomainClass)
CustomAttributes

取得或設定 CustomAttributes 網域屬性的值。Gets or sets the value of CustomAttributes domain property. 用來為此專案產生的程式碼進行屬性。Used to attribute the code generated from this element.

(繼承來源 AttributedDomainElement)
CustomTypeDescriptor

取得或設定 CustomTypeDescriptor。Gets or sets CustomTypeDescriptor. 類別之自訂類型描述元的定義。Definition of the custom type descriptor for the class.

(繼承來源 DomainClass)
Decorators

取得裝飾專案的清單。Gets a list of Decorators. 圖表元素的裝飾專案。Decorators for the diagram element.

(繼承來源 DiagramElement)
Description

取得或設定 Description 網域屬性的值。Gets or sets the value of Description domain property. 用於 UI 和產生之設計工具的程式碼檔中。Used in the UI and in the code documentation of the generated designer.

(繼承來源 AttributedDomainElement)
DisplayName

取得或設定 DisplayName 網域屬性的值。Gets or sets the value of DisplayName domain property. 將在產生的設計工具中顯示此專案的名稱。The name that will be displayed in the generated designer for this element.

(繼承來源 NamedDomainElement)
DslLibrary

取得或設定 DslLibrary。Gets or sets DslLibrary. 定義圖形的 Dsl 程式庫。Dsl library defining the shape.

(繼承來源 BaseShape)
ElementMergeDirectives

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

(繼承來源 DomainClass)
ExposesFillColorAsProperty

取得或設定 ExposesFillColorAsProperty 網域屬性的值。Gets or sets the value of ExposesFillColorAsProperty domain property. 若為 True,表示已在圖形中加入網域屬性,以允許在產生的設計工具的 [屬性] 視窗中公開填滿色彩。If True, a domain property has been added to the shape to allow the fill color to be exposed in the properties window of the generated designer.

(繼承來源 Shape)
ExposesFillGradientMode

取得或設定 ExposesFillGradientMode 網域屬性的值。Gets or sets the value of ExposesFillGradientMode domain property. 若為 True,表示已在圖形中加入網域屬性,以允許在產生的設計工具的 [屬性] 視窗中公開填滿漸層模式。If True, a domain property has been added to the shape to allow the fill gradient mode to be exposed in the properties window of the generated designer.

(繼承來源 Shape)
ExposesOutlineColorAsProperty

取得或設定 ExposesOutlineColorAsProperty 網域屬性的值。Gets or sets the value of ExposesOutlineColorAsProperty domain property. 若為 True,表示已在圖形中加入網域屬性,以允許在產生的設計工具的 [屬性] 視窗中公開外框色彩。If True, a domain property has been added to the shape to allow the outline color to be exposed in the properties window of the generated designer.

(繼承來源 Shape)
ExposesOutlineDashStyleAsProperty

取得或設定 ExposesOutlineDashStyleAsProperty 網域屬性的值。Gets or sets the value of ExposesOutlineDashStyleAsProperty domain property. 若為 True,表示已在圖形中加入網域屬性,以允許在產生的設計工具的 [屬性] 視窗中公開大綱虛線樣式。If True, a domain property has been added to the shape to allow the outline dash style to be exposed in the properties window of the generated designer.

(繼承來源 Shape)
ExposesOutlineThicknessAsProperty

取得或設定 ExposesOutlineThicknessAsProperty 網域屬性的值。Gets or sets the value of ExposesOutlineThicknessAsProperty domain property. 若為 True,表示已在圖形中加入網域屬性,以允許在產生的設計工具的 [屬性] 視窗中公開框線粗細。If True, a domain property has been added to the shape to allow the outline thickness to be exposed in the properties window of the generated designer.

(繼承來源 Shape)
ExposesTextColor

取得或設定 ExposesTextColor 網域屬性的值。Gets or sets the value of ExposesTextColor domain property. 若為 True,則會將網域屬性加入至連接器,以允許在產生的設計工具的 [屬性] 視窗中公開文字色彩。If True, a domain property has been added to the connector to allow the text color to be exposed in the properties window of the generated designer.

(繼承來源 DiagramElement)
FillColor

取得或設定 FillColor 網域屬性的值。Gets or sets the value of FillColor domain property. 填滿此圖形的色彩。Fill color of this shape.

(繼承來源 Shape)
FillGradientMode

取得或設定 FillGradientMode 網域屬性的值。Gets or sets the value of FillGradientMode domain property. 填滿此圖形的漸層模式。Fill gradient mode of this shape.

(繼承來源 Shape)
FixedTooltipText

取得或設定 FixedTooltipText 網域屬性的值。Gets or sets the value of FixedTooltipText domain property. 用於固定工具提示的文字。Text used for a fixed tooltip.

(繼承來源 DiagramElement)
GeneratesDoubleDerived

取得或設定 GeneratesDoubleDerived 網域屬性的值。Gets or sets the value of GeneratesDoubleDerived domain property. 若為 True,將會同時產生具有所有功能的基類和部分類別,以支援透過覆寫進行自訂。If True, will generate both a base class with all functionality and a partial class to support customization through overrides.

(繼承來源 DomainClass)
Geometry

取得或設定 Geometry 網域屬性的值。Gets or sets the value of Geometry domain property. 此圖形的外框幾何。Outline geometry of this shape.

(繼承來源 GeometryShape)
HasCustomConstructor

取得或設定 HasCustomConstructor 網域屬性的值。Gets or sets the value of HasCustomConstructor domain property. 若為 True,表示會在程式碼中提供自訂的函式。If True, indicates that a custom constructor will be provided in code.

(繼承來源 DomainClass)
HasDefaultConnectionPoints

取得或設定 HasDefaultConnectionPoints 網域屬性的值。Gets or sets the value of HasDefaultConnectionPoints domain property. 若為 True,則圖形將在產生的設計工具中使用頂端、底部、左方和右邊的連接點。If True, the shape will use top, bottom, left and right connection points in the generated designer.

(繼承來源 Shape)
HelpKeyword

取得或設定 HelpKeyword 網域屬性的值。Gets or sets the value of HelpKeyword domain property. 選擇性關鍵字,用來為這個元素的 F1 說明編制索引。Optional keyword used to index F1 help for this element.

(繼承來源 NamedDomainElement)
Id

這個元素的唯一識別碼。Unique identifier of this element.

(繼承來源 ModelElement)
InheritanceModifier

取得或設定 InheritanceModifier 網域屬性的值。Gets or sets the value of InheritanceModifier domain property. 判斷從網域類別產生之 .Net 類別的繼承修飾詞是否為 none、abstract 或 sealed。Determines if the inheritance modifier of the .Net class generated from the domain class is none, abstract or sealed.

(繼承來源 DomainClass)
InitialHeight

取得或設定 InitialHeight 網域屬性的值。Gets or sets the value of InitialHeight domain property. 此圖形的初始高度(以英寸為單位)。Initial height of this shape, in inches.

(繼承來源 Shape)
InitialWidth

取得或設定 InitialWidth 網域屬性的值。Gets or sets the value of InitialWidth domain property. 此圖形的初始寬度(以英寸為單位)。Initial width of this shape, in inches.

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

取得或設定 IsDescriptionTracking 網域屬性的值。Gets or sets the value of IsDescriptionTracking domain property. 若為 True,Description 屬性會追蹤 DSL 定義中的其他資料。If True, the Description property tracks other data in the DSL definition.

(繼承來源 AttributedDomainElement)
IsDisplayNameTracking

取得或設定 IsDisplayNameTracking 網域屬性的值。Gets or sets the value of IsDisplayNameTracking domain property. 若為 True,DisplayName 屬性會追蹤 DSL 定義中的其他資料。If True, the DisplayName property tracks other data in the DSL definition.

(繼承來源 NamedDomainElement)
IsFixedTooltipTextTracking

取得或設定 IsFixedTooltipTextTracking 網域屬性的值。Gets or sets the value of IsFixedTooltipTextTracking domain property. 若為 True,FixedTooltipText 屬性會追蹤 DSL 定義中的其他資料。If True, the FixedTooltipText property tracks other data in the DSL definition.

(繼承來源 DiagramElement)
IsNamespaceTracking

取得或設定 IsNamespaceTracking 網域屬性的值。Gets or sets the value of IsNamespaceTracking domain property. 若為 True,Namespace 屬性會追蹤 DSL 定義中的其他資料。If True, the Namespace property tracks other data in the DSL definition.

(繼承來源 DomainClass)
Name

取得或設定 Name 網域屬性的值。Gets or sets the value of Name domain property. 此元素的名稱。Name of this element.

(繼承來源 NamedDomainElement)
Namespace

取得或設定命名空間網域屬性的值。Gets or sets the value of Namespace domain property. 與這個網域類別關聯的命名空間。Namespace affiliated with this domain class.

(繼承來源 DomainClass)
Notes

取得或設定 Notes 網域屬性的值。Gets or sets the value of Notes domain property. 與此元素相關的非正式附注。Informal notes associated with this element.

(繼承來源 DomainElement)
OutlineColor

取得或設定 OutlineColor 網域屬性的值。Gets or sets the value of OutlineColor domain property. 此圖形的外框色彩。Outline color of this shape.

(繼承來源 Shape)
OutlineDashStyle

取得或設定 OutlineDashStyle 網域屬性的值。Gets or sets the value of OutlineDashStyle domain property. 此圖形的外框虛線樣式。Outline dash style of this shape.

(繼承來源 Shape)
OutlineThickness

取得或設定 OutlineThickness 網域屬性的值。Gets or sets the value of OutlineThickness domain property. 此圖形的外框粗細。Outline thickness of this shape.

(繼承來源 Shape)
Partition

取得或設定包含這個元素的分割區實例。Gets or sets the Partition instance that contains this element.

(繼承來源 ModelElement)
Properties

取得屬性的清單。Gets a list of Properties.

(繼承來源 DomainClass)
ProxyIsNameTracking

IsNameTracking 的虛擬化版本,以應付衍生類別擁有 IsNameTracking 旗標的事實Virtualized version of IsNameTracking to cope with the fact that derived classes own the IsNameTracking flags

(繼承來源 NamedDomainElement)
RolesPlayed

取得 RolesPlayed 的清單。Gets a list of RolesPlayed. 類別所扮演的角色。Roles played by the class.

(繼承來源 DomainClass)
Store

取得包含這個元素的存放區實例。Get the Store instance that contains this element.

(繼承來源 ModelElement)
SubClasses

取得子類別的清單。Gets a list of SubClasses.

TextColor

取得或設定 TextColor 網域屬性的值。Gets or sets the value of TextColor domain property. 用於與此圖表元素相關聯之文字裝飾專案的色彩。Color used for text decorators associated with this diagram element.

(繼承來源 DiagramElement)
TooltipType

取得或設定 TooltipType 網域屬性的值。Gets or sets the value of TooltipType domain property. 如果已修正,則會使用固定的工具提示文字做為工具提示,如果有變數,則會在自訂程式碼中定義工具提示。If Fixed, the fixed tooltip text is used as the tooltip, if variable the tooltip is defined in custom code.

(繼承來源 DiagramElement)

方法

CalculateDescription()

計算 Description 的值Calculate the value of Description

(繼承來源 DomainClass)
CalculateName()

計算名稱的值Calculates the value of Name

(繼承來源 NamedDomainElement)
CanMerge(ProtoElementBase, ElementGroupPrototype)

傳回值,這個值表示指定的根 ProtoElement 所代表的來源元素是否可以加入至這個專案。Returns a value indicating whether the source element represented by the specified root ProtoElement can be added to this element.

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

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

(繼承來源 ModelElement)
GetFullName(Boolean)

取得這個類別的完整名稱Gets the fully qualified name for this class

(繼承來源 DomainClass)
GetRelativeName(String, Boolean)

取得相對於目前命名空間之網域類別的名稱。Gets the name of the domain class relative to the current namespace. 如果目前的命名空間與此相同。命名空間,然後傳回這個。名字。If the current namespace is the same as this.Namespace, then we return this.Name. 如果不是,我們會傳回這個。GetFullName () If not, we return this.GetFullName()

(繼承來源 DomainClass)
GetRoleCollection<TCollection,TElement>(Guid)

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

(繼承來源 ModelElement)
IsDerivedFrom(DomainClass)

測試這個類別是否衍生自指定的類別。Test if this class is derived from the given class.

(繼承來源 DomainClass)
MergeConfigure(ElementGroup)

設定新合併的 DomainClassConfigure a newly merged DomainClass

(繼承來源 DomainClass)
MergeDisconnect(ModelElement)

執行與 MergeRelate 相反的作業-也就是中斷指定專案與目前的專案之間的連接 (移除 MergeRelate) 所建立的連結。Performs operation opposite to MergeRelate - i.e. disconnects a given element from the current one (removes links created by MergeRelate).

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

(繼承來源 Shape)
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)
OnInheritanceModifierChanged(InheritanceModifier, InheritanceModifier)

在 DomainClass 變更時呼叫 InheritanceModifierCalled when InheritanceModifier on a DomainClass changes

(繼承來源 DomainClass)
OnNameChanged(String, String)

變更的 DiagramElement 名稱Name of DiagramElement changed

(繼承來源 DiagramElement)
OnNamespaceChanged(String, String)

DomainClass 的命名空間變更時呼叫Called when the Namespace of a DomainClass changes

(繼承來源 DomainClass)
OnResurrected()

在 isdefunct 元素之後由模型呼叫, (放回存放區) 。Called by the model after the element has been resurrected (placed back into the store).

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

明確介面實作

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

適用於