ConnectionPoint ConnectionPoint ConnectionPoint ConnectionPoint Class



此 API 現已淘汰。

表示顯示在工作流程設計介面上活動設計工具之外緣的連線點。Represents a connection point that is displayed on the outer edges of an activity designer on a workflow design surface.

public ref class ConnectionPoint
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class ConnectionPoint
type ConnectionPoint = class
Public Class ConnectionPoint



此資料討論已被汰換的類型及命名空間。This material discusses types and namespaces that are obsolete. 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

連線點會以小方塊的形式出現在活動設計介面的邊緣上。A connection point appears as a small square on the edge of an activity designer surface. 在連線點的位置,可以產生活動設計工具的連接器與另一個活動設計工具連接。It is used as a point where a Connector can originate on the activity designer to connect it with another activity designer.


ConnectionPoint(ActivityDesigner, DesignerEdges, Int32) ConnectionPoint(ActivityDesigner, DesignerEdges, Int32) ConnectionPoint(ActivityDesigner, DesignerEdges, Int32) ConnectionPoint(ActivityDesigner, DesignerEdges, Int32)

使用指定的 ConnectionPointActivityDesigner、列舉值和整數,來初始化 DesignerEdges 類別的新執行個體。Initializes a new instance of the ConnectionPoint class by using the specified ActivityDesigner, DesignerEdges enumeration value, and an integer.


AssociatedDesigner AssociatedDesigner AssociatedDesigner AssociatedDesigner

取得連線點所屬的活動設計工具。Gets the activity designer to which the connection point belongs.

Bounds Bounds Bounds Bounds

取得連線點的週框 (Bounding Rectangle)。Gets the bounding rectangle for the connection point.

ConnectionEdge ConnectionEdge ConnectionEdge ConnectionEdge

取得連線點所在的設計工具邊界。Gets the designer edge on which the connection point appears.

ConnectionIndex ConnectionIndex ConnectionIndex ConnectionIndex

取得目前 ConnectionPoint 的連線索引。Gets the connection index for the current ConnectionPoint.

Location Location Location Location

取得代表相關 ConnectionPointActivityDesigner邏輯位置的點。Gets a point that represents the logical location of the ConnectionPoint on the associated ActivityDesigner.


Equals(Object) Equals(Object) Equals(Object) Equals(Object)

傳回值,指出目前的 ConnectionPoint 是否和指定的物件相等。Returns a value that indicates whether the current ConnectionPoint is equal to the specified object.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

傳回目前 ConnectionPoint 的雜湊程式碼。Returns a hash code for the current ConnectionPoint.

GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
OnPaint(ActivityDesignerPaintEventArgs, Boolean) OnPaint(ActivityDesignerPaintEventArgs, Boolean) OnPaint(ActivityDesignerPaintEventArgs, Boolean) OnPaint(ActivityDesignerPaintEventArgs, Boolean)

執行任何轉譯活動設計工具介面上 ConnectionPoint 時所需的工作。Performs all tasks required to render the ConnectionPoint on the activity designer surface.

ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)