共用方式為


Package.IVsPackage.ResetDefaults(UInt32) Method

Definition

Resets Toolbox defaults.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsPackage.ResetDefaults(System::UInt32 grfFlags) = Microsoft::VisualStudio::Shell::Interop::IVsPackage::ResetDefaults;
 virtual int Microsoft.VisualStudio.Shell.Interop.IVsPackage.ResetDefaults(unsigned int grfFlags) = Microsoft::VisualStudio::Shell::Interop::IVsPackage::ResetDefaults;
int Microsoft.VisualStudio.Shell.Interop.IVsPackage.ResetDefaults(unsigned int grfFlags);
int IVsPackage.ResetDefaults (uint grfFlags);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsPackage.ResetDefaults : uint32 -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsPackage.ResetDefaults : uint32 -> int
Function ResetDefaults (grfFlags As UInteger) As Integer Implements IVsPackage.ResetDefaults

Parameters

grfFlags
UInt32

Flags whose values are taken from the __VSPKGRESETFLAGS enumeration

Returns

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

Implements

Applies to