Partager via


IDSRefConsumer.GetTimestamp Method

Returns the time that the DSRef is persisted.

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

Syntax

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

Return Value

Type: Microsoft.VisualStudio.OLE.Interop.FILETIME
Returns NOERROR if successful. Otherwise, it returns an unspecified failure code.

Remarks

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

Examples

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

.NET Framework Security

See Also

Reference

IDSRefConsumer Interface

Microsoft.VisualStudio.Data.Interop Namespace