TextSpanHelper.Clear(TextSpan) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the members of the specified span to an empty state.
public:
static void Clear(Microsoft::VisualStudio::TextManager::Interop::TextSpan % span);
public:
static void Clear(Microsoft::VisualStudio::TextManager::Interop::TextSpan & span);
static void Clear(Microsoft::VisualStudio::TextManager::Interop::TextSpan & span);
public static void Clear (ref Microsoft.VisualStudio.TextManager.Interop.TextSpan span);
static member Clear : TextSpan -> unit
Public Shared Sub Clear (ByRef span As TextSpan)
Parameters
Remarks
This method sets the start and end members to 0, and thereby creates an empty span.