Partilhar via


CodeContainer.WithLastAccessed(DateTimeOffset) Method

Definition

Returns a CodeContainer whose LastAccessed has been set to lastAccessed.

public:
 Microsoft::VisualStudio::Shell::CodeContainerManagement::CodeContainer ^ WithLastAccessed(DateTimeOffset lastAccessed);
public Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainer WithLastAccessed (DateTimeOffset lastAccessed);
member this.WithLastAccessed : DateTimeOffset -> Microsoft.VisualStudio.Shell.CodeContainerManagement.CodeContainer
Public Function WithLastAccessed (lastAccessed As DateTimeOffset) As CodeContainer

Parameters

lastAccessed
DateTimeOffset

The last-accessed timestamp.

Returns

Applies to