IVsUserContextItemProvider.SetProperty(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.
Sets the specified property.
public:
int SetProperty(int property, System::Object ^ var);
public:
int SetProperty(int property, Platform::Object ^ var);
int SetProperty(int property, winrt::Windows::Foundation::IInspectable const & var);
public int SetProperty (int property, object var);
abstract member SetProperty : int * obj -> int
Public Function SetProperty (property As Integer, var As Object) As Integer
Parameters
- property
- Int32
- var
- Object
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From context.idl:
HRESULT IVsUserContextItemProvider::SetProperty(
[in] VSCIPPROPID property,
in] VARIANT var
);