Freigeben über


DocData.SetDocDataReadOnly(Int32) Method

Definition

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.

Applies to