Document.CurrentRsid Property
Gets a random number that Microsoft Office Word assigns to changes in the document.
Namespace: Microsoft.Office.Tools.Word
Assemblies: Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
Syntax
'Declaration
ReadOnly Property CurrentRsid As Integer
int CurrentRsid { get; }
Property Value
Type: System.Int32
A random number that Microsoft Office Word assigns to changes in the document.
Remarks
If the StoreRSIDOnSave property of the Options property is true, each time a document is saved, Word generates a random number that the application uses to facilitate comparing and merging documents. Word stores the random numbers in a table and updates the table after each save. The CurrentRsid property returns the last number that Word assigned to the document.
.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.