FreeformActivityDesigner.AddConnector Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
öğesine FreeformActivityDesignerbir bağlayıcı ekler.
public:
System::Workflow::ComponentModel::Design::Connector ^ AddConnector(System::Workflow::ComponentModel::Design::ConnectionPoint ^ source, System::Workflow::ComponentModel::Design::ConnectionPoint ^ target);
public System.Workflow.ComponentModel.Design.Connector AddConnector(System.Workflow.ComponentModel.Design.ConnectionPoint source, System.Workflow.ComponentModel.Design.ConnectionPoint target);
member this.AddConnector : System.Workflow.ComponentModel.Design.ConnectionPoint * System.Workflow.ComponentModel.Design.ConnectionPoint -> System.Workflow.ComponentModel.Design.Connector
Public Function AddConnector (source As ConnectionPoint, target As ConnectionPoint) As Connector
Parametreler
- source
- ConnectionPoint
ConnectionPoint Bağlayıcıyı çizmeye başlamak için konum.
- target
- ConnectionPoint
ConnectionPoint Bağlayıcıyı çizmeyi bitirecek konum.
Döndürülenler
Connector öğesine eklenen FreeformActivityDesigner.
Özel durumlar
source veya target bir null başvurusu içerir (Visual Basic'de Nothing).
AssociatedDesigner için source veya target özelliği bir null başvuru (Nothing) içerir.
Geçerli FreeformActivityDesigner , bağlayıcının ekleneceği kapsayıcı değil.
Açıklamalar
AddConnector , kullanıcı öğesine bir Connector eklediğinde çağrılır FreeformActivityDesigner.