다음을 통해 공유


IVsPersistDocData2.IsDocDataReadOnly(Int32) Method

Definition

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  
);  

Applies to