IVsTaskItem3::SetColumnValue Method (Int32, Object^)

 

When the user edits a task, this method is called for each edited column once the edit is committed.

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

int SetColumnValue(
	int iField,
	[InAttribute] Object^% pvarValue
)

Parameters

iField
Type: System::Int32

[in] An integer containing the Field Column to be used.

pvarValue
Type: System::Object^

[in] A pointer to an object of type VARIANT.

Return Value

Type: System::Int32

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

The type of pvarValue will be the same as the type returned from GetColumnValue.

From vsshell80.idl:

HRESULT IVsTaskItem3::SetColumnValue(
   [in] int iField, 
   [in] VARIANT* pvarValue
);
Return to top
Show: