IVsPersistDocData2.SetDocDataReadOnly(Int32) Method
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
- fReadOnly
- Int32
[in] Flag indicating read only.
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsPersistDocData2::SetDocDataReadOnly(
[in] BOOL fReadOnly
);