Share via


IEditorOperations.GetWhitespaceForVirtualSpace Method

Gets a string composed of whitespace characters that would be inserted to fill the gap between a given VirtualSnapshotPoint and the closest SnapshotPoint on the same line.

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

Syntax

'Declaration
Function GetWhitespaceForVirtualSpace ( _
    point As VirtualSnapshotPoint _
) As String
string GetWhitespaceForVirtualSpace(
    VirtualSnapshotPoint point
)
String^ GetWhitespaceForVirtualSpace(
    VirtualSnapshotPoint point
)
abstract GetWhitespaceForVirtualSpace : 
        point:VirtualSnapshotPoint -> string
function GetWhitespaceForVirtualSpace(
    point : VirtualSnapshotPoint
) : String

Parameters

Return Value

Type: System.String
A string composed of whitespace characters that would be inserted to fill the gap between a given VirtualSnapshotPoint and the closest SnapshotPoint on the same line.

Remarks

Returns an empty string if the provided point is not in virtual space.

.NET Framework Security

See Also

Reference

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations Namespace