IEditorOperations::GetWhitespaceForVirtualSpace Method (VirtualSnapshotPoint)

 

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)

String^ GetWhitespaceForVirtualSpace(
	VirtualSnapshotPoint point
)

Parameters

point
Type: Microsoft.VisualStudio.Text::VirtualSnapshotPoint

The point in virtual space

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.

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

Return to top
Show: