Compartir a través de


IEditorOperations.GetWhitespaceForVirtualSpace(VirtualSnapshotPoint) Method

Definition

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.

public:
 System::String ^ GetWhitespaceForVirtualSpace(Microsoft::VisualStudio::Text::VirtualSnapshotPoint point);
public string GetWhitespaceForVirtualSpace (Microsoft.VisualStudio.Text.VirtualSnapshotPoint point);
abstract member GetWhitespaceForVirtualSpace : Microsoft.VisualStudio.Text.VirtualSnapshotPoint -> string
Public Function GetWhitespaceForVirtualSpace (point As VirtualSnapshotPoint) As String

Parameters

point
VirtualSnapshotPoint

The point in virtual space

Returns

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.

Applies to