TextSpanAndCookie.ulHTMLCookie Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Identifies the line the code block starts on.
public: System::UInt32 ulHTMLCookie;
public: unsigned int ulHTMLCookie;
unsigned int ulHTMLCookie;
[System.Runtime.InteropServices.ComAliasName("Microsoft.VisualStudio.OLE.Interop.ULONG")]
public uint ulHTMLCookie;
[<System.Runtime.InteropServices.ComAliasName("Microsoft.VisualStudio.OLE.Interop.ULONG")>]
val mutable ulHTMLCookie : uint32
Public ulHTMLCookie As UInteger
Field Value
- Attributes
Remarks
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>
Note
The value stored in this cookie may not be an actual line number but it is guaranteed to be unique for each line.