IIndexWorkspaceService.GetFileScannerState(String, FileScannerType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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