Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Function RevertItemToDefault ( _
szName As String _
) As Integer
int RevertItemToDefault(
string szName
)
int RevertItemToDefault(
[InAttribute] String^ szName
)
abstract RevertItemToDefault :
szName:string -> int
function RevertItemToDefault(
szName : String
) : int
Parameters
szName
Type: String[in] Null-terminated string containing the non-localized name of the font or color registry entry.
Return Value
Type: Int32
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsFontAndColorStorage2 Interface