IVsPerPropertyBrowsing.CanResetPropertyValue(Int32, Int32) Method

Definition

Checks whether the given property can be reset to the default value.

C++/WinRT
int CanResetPropertyValue(int dispid, [Runtime::InteropServices::Out] int & pfCanReset);

Parameters

dispid
Int32

[in] Specifies the dispatch ID.

pfCanReset
Int32

[out] Pointer to a flag indicating can reset.

Returns

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

Remarks

COM Signature

From vsshell.idl:

cpp#
HRESULT IVsPerPropertyBrowsing::CanResetPropertyValue(  
   DISPID dispid,  
   [out, retval]BOOL* pfCanReset  
);  

Checks whether the given property can be reset to the default value. If return value is not S_OK or *pfCanReset is false, the value will not be able to be reset.

Applies to

製品 バージョン
Visual Studio SDK 2015, 2017, 2019, 2022