IVsPersistDocData2.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 Read-Only flag to true
.
public:
int SetDocDataReadOnly(int fReadOnly);
public:
int SetDocDataReadOnly(int fReadOnly);
int SetDocDataReadOnly(int fReadOnly);
public int SetDocDataReadOnly (int fReadOnly);
abstract member SetDocDataReadOnly : int -> int
Public Function SetDocDataReadOnly (fReadOnly As Integer) As Integer
Parameters
- fReadOnly
- Int32
[in] Flag indicating read only.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsPersistDocData2::SetDocDataReadOnly(
[in] BOOL fReadOnly
);