TextSpanAndCookie::ulHTMLCookie Field

 

Identifies the line the code block starts on.

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

public:
unsigned int ulHTMLCookie

Field Value

Type: System::UInt32

This value represents the line the code block starts on. By comparing ulHTMLCookie values between separate TextSpanAndCookie objects, it is possible to determine if two code spans start on the same line. For example, in ASP, the following line contains two code blocks so their cookies are equal:

<html>
<body>
<%codeblock1%> <%codeblock1%>
</body>
</html>
System_CAPS_noteNote

The value stored in this cookie may not be an actual line number but it is guaranteed to be unique for each line.

Return to top
Show: