共用方式為


TextSpanAndCookie Struct

Definition

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

public value class TextSpanAndCookie
struct TextSpanAndCookie
public struct TextSpanAndCookie
type TextSpanAndCookie = struct
Public Structure TextSpanAndCookie
Inheritance
TextSpanAndCookie

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.

Fields

CodeSpan

A TextSpan object representing the span of embedded source code.

ulHTMLCookie

Identifies the line the code block starts on.

Applies to