共用方式為


IDSRefConsumer.GetTimestamp 方法

傳回時間 DSRef 保存。

命名空間:  Microsoft.VisualStudio.Data.Interop
組件:  Microsoft.VisualStudio.Data (在 Microsoft.VisualStudio.Data.dll 中)

語法

'宣告
Function GetTimestamp As FILETIME
FILETIME GetTimestamp()
FILETIME GetTimestamp()
abstract GetTimestamp : unit -> FILETIME
function GetTimestamp() : FILETIME

傳回值

類型:FILETIME
NOERROR 傳回,如果失敗。否則,會傳回一個未指定的錯誤程式碼。

備註

DSRef 物件在記憶體中建立使用的儲存區執行拖放作業。 當 DSRef 物件寫入儲存時,時間戳記會參考。

範例

IDSRefConsumer* m_srpCurrentDSRef;
FILETIME timestamp;
m_srpCurrentDSRef->GetTimestamp(&timestamp);

.NET Framework 安全性

請參閱

參考

IDSRefConsumer 介面

Microsoft.VisualStudio.Data.Interop 命名空間