SettingsStore::GetLastWriteTime Method (String^)

 

Provides the last write time of the properties and sub-collections immediate to the given collection.

Namespace:   Microsoft.VisualStudio.Settings
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
virtual DateTime GetLastWriteTime(
	String^ collectionPath
) abstract

Parameters

collectionPath
Type: System::String^

Path of the collection.

Return Value

Type: System::DateTime

Last update time to the collection in Local format.

Exception Condition
ArgumentException

If the collection does not exist, method throws this exception.

The method does report any further changes internal to the sub-collections (i.e. non-recursive). The last write time of a collection is updated if properties are created, deleted or their values modified or if a sub-collection is created or deleted.

Return to top
Show: