TextSpanAndCookie Structure
Visual Studio 2012
Used to represent a span of code embedded in a document.
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
The TextSpanAndCookie type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) |
![]() | GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
| Name | Description | |
|---|---|---|
![]() | CodeSpan | A TextSpan object representing the span of embedded source code. |
![]() | ulHTMLCookie | Identifies the line the code block starts on. |
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.
