次の方法で共有


NodeShapeGeometry.Contains Method

Gets a value indicating whether the point is within the geometry outline. The geometry outline is defined by the graphics path used to draw the geometry.

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

Syntax

'宣言
Protected Overridable Function Contains ( _
    geometryHost As IGeometryHost, _
    point As PointD, _
    hitTestInfo As DiagramHitTestInfo _
) As Boolean
protected virtual bool Contains(
    IGeometryHost geometryHost,
    PointD point,
    DiagramHitTestInfo hitTestInfo
)
protected:
virtual bool Contains(
    IGeometryHost^ geometryHost, 
    PointD point, 
    DiagramHitTestInfo^ hitTestInfo
)
abstract Contains : 
        geometryHost:IGeometryHost * 
        point:PointD * 
        hitTestInfo:DiagramHitTestInfo -> bool 
override Contains : 
        geometryHost:IGeometryHost * 
        point:PointD * 
        hitTestInfo:DiagramHitTestInfo -> bool 
protected function Contains(
    geometryHost : IGeometryHost, 
    point : PointD, 
    hitTestInfo : DiagramHitTestInfo
) : boolean

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

NodeShapeGeometry Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace