Share via


ConnectionType.IsValidSourceAndTarget Method

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Public Overridable Function IsValidSourceAndTarget ( _
    sourceShapeElement As ShapeElement, _
    targetShapeElement As ShapeElement _
) As Boolean
public virtual bool IsValidSourceAndTarget(
    ShapeElement sourceShapeElement,
    ShapeElement targetShapeElement
)
public:
virtual bool IsValidSourceAndTarget(
    ShapeElement^ sourceShapeElement, 
    ShapeElement^ targetShapeElement
)
abstract IsValidSourceAndTarget : 
        sourceShapeElement:ShapeElement * 
        targetShapeElement:ShapeElement -> bool  
override IsValidSourceAndTarget : 
        sourceShapeElement:ShapeElement * 
        targetShapeElement:ShapeElement -> bool
public function IsValidSourceAndTarget(
    sourceShapeElement : ShapeElement, 
    targetShapeElement : ShapeElement
) : boolean

Parameters

Return Value

Type: Boolean

.NET Framework Security

See Also

Reference

ConnectionType Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace