IVsFontAndColorStorage2::RevertItemToDefault Method (String^)

 

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

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int RevertItemToDefault(
	String^ szName
)

Parameters

szName
Type: System::String^

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

Return Value

Type: System::Int32

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

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

Return to top
Show: