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

The method does not report any further changes internal to the sub-collections; it is not recursive. The last write time of a collection is updated if properties are created, deleted or have their values modified, or if a sub-collection is created or deleted.

Applies to