IVsPersistDocData2::IsDocDataReadOnly Method (Int32)
Visual Studio 2015
Determines whether the document data is read-only.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- pfReadOnly
-
Type:
System::Int32
[out] Pointer to a 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::IsDocDataReadOnly( [out] BOOL *pfReadOnly );
Show: