This documentation is archived and is not being maintained.

NewSpanMapping Structure

Used to create a new span mapping.

Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in microsoft.visualstudio.textmanager.interop.8.0.dll)

public struct NewSpanMapping
public final class NewSpanMapping extends ValueType
JScript suports the use of structures, but not the declaration of new ones.

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: