Share via


TextSpanAndCookie Structure

Used to represent a span of code embedded in a document.

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

Syntax

'Declaration
Public Structure TextSpanAndCookie
'Usage
Dim instance As TextSpanAndCookie
public struct TextSpanAndCookie
public value class TextSpanAndCookie
JScript supports the use of structures, but not the declaration of new ones.

Remarks

COM Signature

From singlefileeditor.idl:

typedef struct _TEXTSPANANDCOOKIE {
    ULONG    ulHTMLCookie;
    TextSpan CodeSpan;
} TextSpanAndCookie;

This structure is used in the IVsEnumCodeBlocks interface and is returned by the Next method.

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

TextSpanAndCookie Members

Microsoft.VisualStudio.TextManager.Interop Namespace