IVsFontAndColorStorage2.RevertItemToDefault(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.