DocData.SetDocDataReadOnly(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the readOnly flag for the document.
public:
virtual int SetDocDataReadOnly(int newValue);
public int SetDocDataReadOnly (int newValue);
abstract member SetDocDataReadOnly : int -> int
override this.SetDocDataReadOnly : int -> int
Public Function SetDocDataReadOnly (newValue As Integer) As Integer
Parameters
- newValue
- Int32
nonzero value indicates that the document is readonly.
Returns
Implements
Remarks
This indicates that the docdata should be considered read-only in memory, even if the underlying file is read-only.