다음을 통해 공유


SettingsStore.GetLastWriteTime(String) Method

Definition

Provides the last write time of the properties and sub collections immediate to the given collection. 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.

public:
 abstract DateTime GetLastWriteTime(System::String ^ collectionPath);
public abstract DateTime GetLastWriteTime (string collectionPath);
abstract member GetLastWriteTime : string -> DateTime
Public MustOverride Function GetLastWriteTime (collectionPath As String) As DateTime

Parameters

collectionPath
String

Path of the collection.

Returns

Last update time to the collection in Local format.

Exceptions

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

Remarks

This method is safe to access from any thread.

Applies to