IVsWritableSettingsStore::GetLastWriteTime Method (String^, array<SYSTEMTIME>^)

 

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

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

int GetLastWriteTime(
	String^ collectionPath,
	array<SYSTEMTIME>^ lastWriteTime
)

Parameters

collectionPath
Type: System::String^

[in] The path of the collection.

lastWriteTime
Type: array<Microsoft.VisualStudio.Shell.Interop::SYSTEMTIME>^

[out] The last write time.

Return Value

Type: System::Int32

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

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.

Return to top
Show: