Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This member overrides ConnectionType.IsValidSourceAndTarget(ShapeElement, ShapeElement).
Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Overrides Function IsValidSourceAndTarget ( _
    sourceShapeElement As ShapeElement, _
    targetShapeElement As ShapeElement _
) As Boolean
public override bool IsValidSourceAndTarget(
    ShapeElement sourceShapeElement,
    ShapeElement targetShapeElement
)
public:
virtual bool IsValidSourceAndTarget(
    ShapeElement^ sourceShapeElement, 
    ShapeElement^ targetShapeElement
) override
abstract IsValidSourceAndTarget : 
        sourceShapeElement:ShapeElement * 
        targetShapeElement:ShapeElement -> bool  
override IsValidSourceAndTarget : 
        sourceShapeElement:ShapeElement * 
        targetShapeElement:ShapeElement -> bool
public override function IsValidSourceAndTarget(
    sourceShapeElement : ShapeElement, 
    targetShapeElement : ShapeElement
) : boolean
Parameters
- sourceShapeElement
 Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
- targetShapeElement
 Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.