Compartir a través de


GenericCoreConnectionType.IsValidSourceAndTarget Method

This member overrides ConnectionType.IsValidSourceAndTarget(ShapeElement, ShapeElement).

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

Syntax

'Declaración
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

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

GenericCoreConnectionType Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace