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)

Syntax

'Déclaration
Public Structure TextSpanPair
'Utilisation
Dim instance As TextSpanPair
public struct TextSpanPair
public value class TextSpanPair
[<SealedAttribute>]
type TextSpanPair =  struct end
JScript supports the use of structures, but not the declaration of new ones.

Remarks

COM Signature

From singlefileeditor.idl:

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

This structure is used in the NewSpanMapping structure.

Thread Safety

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

See Also

Reference

TextSpanPair Members

Microsoft.VisualStudio.TextManager.Interop Namespace