Export (0) Print
Expand All

IVsPersistDocData2.IsDocDataReadOnly Method

Determines whether the document data is read-only.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)

int IsDocDataReadOnly (
	out int pfReadOnly
)
int IsDocDataReadOnly (
	/** @attribute OutAttribute() */ /** @ref */ int pfReadOnly
)
JScript does not support passing value-type arguments by reference.

Parameters

pfReadOnly

[out] Pointer to a flag indicating read-only.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

From vsshell.idl:

HRESULT IVsPersistDocData2::IsDocDataReadOnly(
   [out] BOOL *pfReadOnly
);

Community Additions

ADD
Show:
© 2014 Microsoft