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
'Declaration
Function GetTimestamp As FILETIME
FILETIME GetTimestamp()
FILETIME GetTimestamp()
abstract GetTimestamp : unit -> FILETIME
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(×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.
See Also
Reference
Microsoft.VisualStudio.Data.Services.SupportEntities.Interop Namespace