Partager via


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

'Déclaration
Public ulHTMLCookie As UInteger
'Utilisation
Dim instance As TextSpanAndCookie
Dim value As UInteger

value = instance.ulHTMLCookie

instance.ulHTMLCookie = value
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>
<%foo%> <%foo%>
</body>
</html>

Notes

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

See Also

Reference

TextSpanAndCookie Structure

TextSpanAndCookie Members

Microsoft.VisualStudio.TextManager.Interop Namespace