NewSpanMapping Struct

Definition

Used to create a new span mapping.

C++/WinRT
struct NewSpanMapping
Inheritance
NewSpanMapping

Remarks

COM Signature

From singlefileeditor.idl:

typedef struct _tag_NewSpanMapping {  
    TextSpanPair tspSpans;  
    VARIANT      varUserData;   
} NewSpanMapping;  

This structure is used in the IVsEnumBufferCoordinatorSpans interface and is returned by a call to the Next method. This structure is also passed to the SetSpanMappings method in the IVsTextBufferCoordinator interface.

Fields

tspSpans

Describes the two spans that are to be mapped to each other.

varUserData

Any data supplied by the user.

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022