IVsShellPropertyEvents.OnShellPropertyChange(Int32, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when a shell property changes.
public:
int OnShellPropertyChange(int propid, System::Object ^ var);
public:
int OnShellPropertyChange(int propid, Platform::Object ^ var);
int OnShellPropertyChange(int propid, winrt::Windows::Foundation::IInspectable const & var);
public int OnShellPropertyChange (int propid, object var);
abstract member OnShellPropertyChange : int * obj -> int
Public Function OnShellPropertyChange (propid As Integer, var As Object) As Integer
Parameters
- propid
- Int32
[in] ID of the property that changed.
- var
- Object
[in] the new value of the property.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsShellPropertyEvents::OnShellPropertyChange(
[in] VSSPROPID propid,
[in] VARIANT var);