共用方式為


IVsFontAndColorStorage2.RevertAllItemsToDefault Method

Definition

Revert all registry font and color entries to default values.

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

Returns

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

Remarks

Reverts all registry font and color entries to their default values.

Applies to