共用方式為


IVsSccProvider.SetActive Method

Definition

Called by environment to mark a particular source control package as active.

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

Returns

The method returns S_OK.

Remarks

COM Signature

From ivssccprovider.idl

HRESULT SetActive();  

When a source control package's status changes to active, it starts listening to events and displays its own menu items and toolbars.

Applies to