TextSpanHelper::Clear Method (TextSpan)

 

Sets the members of the specified span to an empty state.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
static void Clear(
	TextSpan% span
)

Parameters

span
Type: Microsoft.VisualStudio.TextManager.Interop::TextSpan

[in] The TextSpan object to clear.

This method sets the start and end members to 0, and thereby creates an empty span.

Return to top
Show: