IDSRefConsumer.GetTimestamp Method

Returns the time that the DSRef is persisted.

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities.Interop
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

Function GetTimestamp As FILETIME

Dim instance As IDSRefConsumer
Dim returnValue As FILETIME

returnValue = instance.GetTimestamp()
FILETIME GetTimestamp()
FILETIME GetTimestamp()
function GetTimestamp() : FILETIME

Return Value

Type: Microsoft.VisualStudio.OLE.Interop.FILETIME

NOERROR if successful; otherwise, an unspecified failure code.

Remarks

The DSRef object uses storage created in memory to perform drag-and-drop operations. The timestamp refers to when the DSRef object is written into storage.

Examples

C++

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

Permissions

See Also

Reference

IDSRefConsumer Interface

IDSRefConsumer Members

Microsoft.VisualStudio.Data.Services.SupportEntities.Interop Namespace