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: GeometryCurrently 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
- 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.