Condividi tramite


IVsLifetimeControlledObject.SeverReferencesToOwner Method

Definition

Instructs undo objects to release references to a designer or buffer.

public:
 int SeverReferencesToOwner();
public:
 int SeverReferencesToOwner();
int SeverReferencesToOwner();
public int SeverReferencesToOwner ();
abstract member SeverReferencesToOwner : unit -> int
Public Function SeverReferencesToOwner () 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 IVsLifetimeControlledObject::SeverReferencesToOwner();  

Indicates that the undo manager should clear all stacks and be placed in the inactive state.

Applies to