Compartir a través de


IVsFontAndColorStorage2.RevertItemToDefault Method

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

See Also

Reference

IVsFontAndColorStorage2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace

IVsFontAndColorStorage