Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Usage
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
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.