Partager via


IVsSettingsStore.GetLastWriteTime(String, SYSTEMTIME[]) Method

Definition

Returns the last time a value was written in a specified collection, including all its properties and sub-collections.

public:
 int GetLastWriteTime(System::String ^ collectionPath, cli::array <Microsoft::VisualStudio::Shell::Interop::SYSTEMTIME> ^ lastWriteTime);
public:
 int GetLastWriteTime(Platform::String ^ collectionPath, Platform::Array <Microsoft::VisualStudio::Shell::Interop::SYSTEMTIME> ^ lastWriteTime);
int GetLastWriteTime(std::wstring const & collectionPath, std::Array <Microsoft::VisualStudio::Shell::Interop::SYSTEMTIME> const & lastWriteTime);
public int GetLastWriteTime (string collectionPath, Microsoft.VisualStudio.Shell.Interop.SYSTEMTIME[] lastWriteTime);
abstract member GetLastWriteTime : string * Microsoft.VisualStudio.Shell.Interop.SYSTEMTIME[] -> int
Public Function GetLastWriteTime (collectionPath As String, lastWriteTime As SYSTEMTIME()) As Integer

Parameters

collectionPath
String

[in] The path of the collection.

lastWriteTime
SYSTEMTIME[]

[out] The last write time.

Returns

Returns S_OK if the write time was returned. If the collection does not exist, the method returns E_INVALIDARG.

Remarks

This method is safe to access from any thread.

Applies to