共用方式為


IVsPersistDocData2.SetDocDataDirty(Int32) Method

Definition

Sets the IsDirty flag to true.

public:
 int SetDocDataDirty(int fDirty);
public:
 int SetDocDataDirty(int fDirty);
int SetDocDataDirty(int fDirty);
public int SetDocDataDirty (int fDirty);
abstract member SetDocDataDirty : int -> int
Public Function SetDocDataDirty (fDirty As Integer) As Integer

Parameters

fDirty
Int32

[in] Flag indicating that the document data is dirty.

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::SetDocDataDirty(  
   [in] BOOL fDirty  
);  

Applies to