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

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from ValueType.)

System_CAPS_pubmethodGetHashCode()

(Inherited from ValueType.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from ValueType.)

NameDescription
System_CAPS_pubfieldtspSpans

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

System_CAPS_pubfieldvarUserData

Any data supplied by the user.

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.

Return to top
Show: