Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
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
- geometryHost 
 Type: Microsoft.VisualStudio.Modeling.Diagrams.IGeometryHost- The instance data for the geometry. 
- point 
 Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD- Point in world coordinates relative to the Diagram's top-left. 
- hitTestInfo 
 Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramHitTestInfo- The object which will be updated with the hit test results. 
Return Value
Type: System.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.