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
- sourceShapeElement
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
- targetShapeElement
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Return Value
Type: 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.