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)
Syntax
'Declaration
Public ulHTMLCookie As UInteger
public uint ulHTMLCookie
public:
unsigned int ulHTMLCookie
val mutable ulHTMLCookie: uint32
public var ulHTMLCookie : uint
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.