Partager via


ListChain.GetPreviousToken Method

Gets the EventToken for the previous event before the given EventToken.

Namespace:  Microsoft.VisualStudio.IntelliTrace
Assembly:  Microsoft.VisualStudio.IntelliTrace (in Microsoft.VisualStudio.IntelliTrace.dll)

Syntax

'Déclaration
Public Overrides Function GetPreviousToken ( _
    token As EventToken _
) As EventToken
public override EventToken GetPreviousToken(
    EventToken token
)
public:
virtual EventToken GetPreviousToken(
    EventToken token
) override
abstract GetPreviousToken : 
        token:EventToken -> EventToken 
override GetPreviousToken : 
        token:EventToken -> EventToken 
public override function GetPreviousToken(
    token : EventToken
) : EventToken

Parameters

Return Value

Type: Microsoft.VisualStudio.IntelliTrace.EventToken
The token before the given token in the chain. When token is at or before the start of the chain, BeforeFirstToken is returned. When token is past the end of the chain, LastToken is returned.

.NET Framework Security

See Also

Reference

ListChain Class

Microsoft.VisualStudio.IntelliTrace Namespace