ListEventChain.GetPreviousToken Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the token for the previous point before the given token.
Namespace: Microsoft.VisualStudio.TraceLog
Assembly: Microsoft.VisualStudio.TraceLog (in Microsoft.VisualStudio.TraceLog.dll)
Syntax
'Declaration
Public Overrides Function GetPreviousToken ( _
token As EventToken _
) As EventToken
'Usage
Dim instance As ListEventChain
Dim token As EventToken
Dim returnValue As EventToken
returnValue = instance.GetPreviousToken(token)
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
- token
Type: Microsoft.VisualStudio.TraceLog.EventToken
The token to start from.
Return Value
Type: Microsoft.VisualStudio.TraceLog.EventToken
The token before the given token in the chain. When token is at or before the beginning of the chain, BeforeFirstToken is returned. When token is past the end of the chain, LastToken is returned.
.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.