Delen via


LinkShapeGeometry.DoHitTestSelection Method

Returns a value indicating whether the given point is within the boundary of the geometry's surrounding selection feedback. The hit test results are also returned.

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 DoHitTestSelection ( _
    geometryHost As IGeometryHost, _
    hitPoint As PointD, _
    hitTestInfo As DiagramHitTestInfo _
) As Boolean
public override bool DoHitTestSelection(
    IGeometryHost geometryHost,
    PointD hitPoint,
    DiagramHitTestInfo hitTestInfo
)
public:
virtual bool DoHitTestSelection(
    IGeometryHost^ geometryHost, 
    PointD hitPoint, 
    DiagramHitTestInfo^ hitTestInfo
) override
abstract DoHitTestSelection : 
        geometryHost:IGeometryHost * 
        hitPoint:PointD * 
        hitTestInfo:DiagramHitTestInfo -> bool  
override DoHitTestSelection : 
        geometryHost:IGeometryHost * 
        hitPoint:PointD * 
        hitTestInfo:DiagramHitTestInfo -> bool
public override function DoHitTestSelection(
    geometryHost : IGeometryHost, 
    hitPoint : PointD, 
    hitTestInfo : DiagramHitTestInfo
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

LinkShapeGeometry Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace