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(×tamp);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.