IVsPersistDocData2::SetDocDataReadOnly Method (Int32)
Visual Studio 2015
Sets the Read-Only flag to true.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- fReadOnly
-
Type:
System::Int32
[in] Flag indicating read only.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsPersistDocData2::SetDocDataReadOnly(
[in] BOOL fReadOnly
);
Show: