Share via


IIndexWorkspaceService.GetFileScannerState(String, FileScannerType) Method

Definition

Get the File scanner state type

public:
 System::Threading::Tasks::Task<Nullable<DateTimeOffset>> ^ GetFileScannerState(System::String ^ filePath, Microsoft::VisualStudio::Workspace::Indexing::FileScannerType type);
public System.Threading.Tasks.Task<DateTimeOffset?> GetFileScannerState (string filePath, Microsoft.VisualStudio.Workspace.Indexing.FileScannerType type);
abstract member GetFileScannerState : string * Microsoft.VisualStudio.Workspace.Indexing.FileScannerType -> System.Threading.Tasks.Task<Nullable<DateTimeOffset>>
Public Function GetFileScannerState (filePath As String, type As FileScannerType) As Task(Of Nullable(Of DateTimeOffset))

Parameters

filePath
String

Reference to element path

type
FileScannerType

Type of file scanner

Returns

DateTimeOffset when the file scanner data or null

Applies to