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
'Déclaration
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
- 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.
Remarks
Returns an empty string if the provided point is not in virtual space.
.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.