IVsPerPropertyBrowsing::ResetPropertyValue Method (Int32)
Visual Studio 2015
Resets the value of the given property.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- dispid
-
Type:
System::Int32
[in] Specifies the dispatch ID.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsPerPropertyBrowsing::ResetPropertyValue( DISPID dispid );
Resets the value of the given property to the default. This method will be called only if the CanResetPropertyValue returns S_OK and *pfCanReset = true for the given property. If the return value is S_OK, the property's value will then be refreshed to the default value in the Properties window.
Show: