Udostępnij za pośrednictwem


IVsFontAndColorStorage2.RevertItemToDefault(String) Method

Definition

Revert the indicated registry font or color entry to its default value.

public:
 int RevertItemToDefault(System::String ^ szName);
public:
 int RevertItemToDefault(Platform::String ^ szName);
int RevertItemToDefault(std::wstring const & szName);
public int RevertItemToDefault (string szName);
abstract member RevertItemToDefault : string -> int
Public Function RevertItemToDefault (szName As String) As Integer

Parameters

szName
String

[in] Null-terminated string containing the non-localized name of the font or color registry entry.

Returns

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

Remarks

Reverts the indicated font or color registry entry to its default value.

Applies to