Partager via


IVsPersistDocData3.HandsOnDocDataStorage Method

Definition

Enables the data document to place locks on its storage.

public:
 int HandsOnDocDataStorage();
public:
 int HandsOnDocDataStorage();
int HandsOnDocDataStorage();
public int HandsOnDocDataStorage ();
abstract member HandsOnDocDataStorage : unit -> int
Public Function HandsOnDocDataStorage () As Integer

Returns

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

Remarks

This method is called if the storage is unmodified since the call to HandsOffDocDataStorage, or if the reload is not safe because the in-memory data document is dirty.

COM Signature

From vsshell80.idl:

HRESULT IVsPersistDocData3::HandsOnDocDataStorage();  

Applies to