Bagikan melalui


IVsShellPropertyEvents.OnShellPropertyChange(Int32, Object) Method

Definition

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);  

Applies to