共用方式為


IVsTextMacroHelper.RecordActivateDocument Method

Definition

Records that the document was activated.

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

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextMacroHelper::RecordActivateDocument();  

Applies to