次の方法で共有


ConnectionType.IsValidSourceAndTarget Method

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

Syntax

'宣言
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: System.Boolean

.NET Framework Security

See Also

Reference

ConnectionType Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace