TextSpanPair Structure

 

Used to express two corresponding spans in two separate buffers.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

public struct TextSpanPair

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_pubfieldspan1

A TextSpan object representing the first span.

System_CAPS_pubfieldspan2

A TextSpan object representing the second span.

From singlefileeditor.idl:

typedef struct _TEXTSPANPAIR {
    TextSpan span1;
    TextSpan span2;
} TextSpanPair;

This structure is used in the NewSpanMapping structure.

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: