Partager via


TextSpanAndCookie.ulHTMLCookie Field

Definition

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.

Applies to