Partager via


ISpaceReservationAgent.PositionAndDisplay Method

Positions and displays the contents of the ISpaceReservationAgent.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaration
Function PositionAndDisplay ( _
    reservedSpace As Geometry _
) As Geometry
Geometry PositionAndDisplay(
    Geometry reservedSpace
)
Geometry^ PositionAndDisplay(
    Geometry^ reservedSpace
)
abstract PositionAndDisplay : 
        reservedSpace:Geometry -> Geometry
function PositionAndDisplay(
    reservedSpace : Geometry
) : Geometry

Parameters

  • reservedSpace
    Type: Geometry

    Currently reserved space.

Return Value

Type: Geometry
The space. If this method returns nulla null reference (Nothing in Visual Basic), the ISpaceReservationManager will remove the agent.

Remarks

If an agent does not want to be removed, but also does not wish to request any additional space, it can return a non-nulla null reference (Nothing in Visual Basic) but empty Geometry.

.NET Framework Security

See Also

Reference

ISpaceReservationAgent Interface

Microsoft.VisualStudio.Text.Editor Namespace