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
‘선언
Function RevertItemToDefault ( _
szName As String _
) As Integer
‘사용 방법
Dim instance As IVsFontAndColorStorage2
Dim szName As String
Dim returnValue As Integer
returnValue = instance.RevertItemToDefault(szName)
int RevertItemToDefault(
string szName
)
int RevertItemToDefault(
[InAttribute] String^ szName
)
abstract RevertItemToDefault :
szName:string -> int
function RevertItemToDefault(
szName : String
) : int
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.
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
IVsFontAndColorStorage2 Members