次の方法で共有


ExpansionProvider.EndExpansion Method

Definition

Called when an expansion session has ended.

public:
 virtual int EndExpansion();
public:
 int EndExpansion();
int EndExpansion();
public int EndExpansion ();
abstract member EndExpansion : unit -> int
override this.EndExpansion : unit -> int
Public Function EndExpansion () As Integer

Returns

If successful, returns S_OK; otherwise, returns an error code.

Implements

Remarks

This method is an implementation of the EndExpansion method on the IVsExpansionClient interface.

The base method clears the internal flag that indicates a snippet editing session is active and throws away the expansion session obtained from the InsertSpecificExpansion and InsertNamedExpansion methods.

Applies to