IVsSettingsStore.GetLastWriteTime(String, SYSTEMTIME[]) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回在指定集合中最后一次写入值的时间,包括其所有属性和子集合。
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
参数
- collectionPath
- String
中集合的路径。
- lastWriteTime
- SYSTEMTIME[]
弄上次写入时间。
返回
S_OK如果返回写入时间,则返回。 如果该集合不存在,则该方法返回 E_INVALIDARG 。
注解
此方法不会报告子集合内部的任何其他更改;它不是递归的。 如果创建、删除或修改了属性的值,或者创建或删除了子集合,则会更新集合的上次写入时间。