IVsUserContextItemProvider.SetProperty Method (Int32, Object)

 

Sets the specified property.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int SetProperty(
	int property,
	object var
)

Parameters

Property

[in] The property.

Var

[in] The value.

Return Value

Type: System.Int32

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

From context.idl:

HRESULT IVsUserContextItemProvider::SetProperty(
   [in] VSCIPPROPID property, 
   in] VARIANT var
);
Return to top
Show: