IVsPersistDocData2.IsDocDataReadOnly(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.
Determines whether the document data is read-only.
public:
int IsDocDataReadOnly([Runtime::InteropServices::Out] int % pfReadOnly);
int IsDocDataReadOnly([Runtime::InteropServices::Out] int & pfReadOnly);
public int IsDocDataReadOnly (out int pfReadOnly);
abstract member IsDocDataReadOnly : int -> int
Public Function IsDocDataReadOnly (ByRef pfReadOnly As Integer) As Integer
Parameters
- pfReadOnly
- Int32
[out] Pointer to a 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::IsDocDataReadOnly(
[out] BOOL *pfReadOnly
);